Class ExtendedTag

  • All Implemented Interfaces:
    Tag, java.io.Serializable, java.lang.Comparable<Tag>

    public class ExtendedTag
    extends java.lang.Object
    implements Tag, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • ExtendedTag

        public ExtendedTag​(Tag source,
                           PropertySet overrides)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Tag
        Returns the name of the tag.
        Specified by:
        getName in interface Tag
      • getType

        public TagType getType()
        Description copied from interface: Tag
        Returns the type of this tag.
        Specified by:
        getType in interface Tag
      • getDataType

        public DataType getDataType()
        Description copied from interface: Tag
        Returns the datatype of this tag's value property
        Specified by:
        getDataType in interface Tag
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: Tag
        Returns the enabled bit for this tag
        Specified by:
        isEnabled in interface Tag
      • getCurrentValue

        public QualifiedValue getCurrentValue()
        Description copied from interface: Tag
        Returns the value in qualified form- along with quality and timestamp.
        Specified by:
        getCurrentValue in interface Tag
      • getAccessRights

        public AccessRightsType getAccessRights()
        Description copied from interface: Tag
        Gets the type of access rights for this tag
        Specified by:
        getAccessRights in interface Tag
      • getAlarmStates

        public AlarmConfiguration getAlarmStates()
        Description copied from interface: Tag
        Returns the list of alarm states for this tag
        Specified by:
        getAlarmStates in interface Tag
      • getAttribute

        public QualifiedValue getAttribute​(Property<?> prop)
        Description copied from interface: Tag
        Gets the value of the given tag attribute.
        Specified by:
        getAttribute in interface Tag
      • compareTo

        public int compareTo​(Tag o)
        Specified by:
        compareTo in interface java.lang.Comparable<Tag>