java.lang.Object
com.inductiveautomation.ignition.common.NamedId
All Implemented Interfaces:
Serializable

public class NamedId extends Object implements Serializable
A NamedId is an identifier which is primarily a UUID, but can have a "friendly" name associated with it. It can be created with either, and then will "match" on either when compared. The idea is that references are held based on UUID, but if such an id is no longer present, a friendly name is more helpful to indicate to the user which reference was intended.
See Also:
  • Constructor Details

  • Method Details

    • fromUuid

      public static NamedId fromUuid(UUID id)
    • fromName

      public static NamedId fromName(String name)
    • from

      public static NamedId from(UUID id, String name)
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • getId

      public UUID getId()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • strictEquals

      public boolean strictEquals(Object obj)