public class ExtendedTag extends java.lang.Object implements Tag, java.io.Serializable
Constructor and Description |
---|
ExtendedTag(Tag source,
PropertySet overrides) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Tag o) |
AccessRightsType |
getAccessRights()
Gets the type of access rights for this tag
|
AlarmConfiguration |
getAlarmStates()
Returns the list of alarm states for this tag
|
TagValue |
getAttribute(TagProp prop)
Gets the value of the given tag attribute.
|
DataType |
getDataType()
Returns the datatype of this tag's value property
|
TagEventScripts |
getEventScripts() |
java.lang.String |
getName()
Returns the name of the tag.
|
TagPermissionsModel |
getPermissionModel()
Returns this tags permission model, if any
|
TagType |
getType()
Returns the type of this tag.
|
TagValue |
getValue()
Returns the value in qualified form- along with quality and timestamp.
|
boolean |
isAlarmingSupported()
Returns true if this tag supports alarming, false otherwise
|
boolean |
isEnabled()
Returns the enabled bit for this tag
|
protected TagValue |
ov(Property p) |
protected TagValue |
tv(java.lang.Object val) |
public ExtendedTag(Tag source, PropertySet overrides)
protected TagValue tv(java.lang.Object val)
public java.lang.String getName()
Tag
public TagType getType()
Tag
public DataType getDataType()
Tag
getDataType
in interface Tag
public boolean isEnabled()
Tag
public TagValue getValue()
Tag
public AccessRightsType getAccessRights()
Tag
getAccessRights
in interface Tag
public TagPermissionsModel getPermissionModel()
Tag
getPermissionModel
in interface Tag
public AlarmConfiguration getAlarmStates()
Tag
getAlarmStates
in interface Tag
public TagEventScripts getEventScripts()
getEventScripts
in interface Tag
public boolean isAlarmingSupported()
Tag
isAlarmingSupported
in interface Tag
public TagValue getAttribute(TagProp prop)
Tag
getAttribute
in interface Tag