Enum Class TagProp
- All Implemented Interfaces:
Property<Object>
,Serializable
,Comparable<TagProp>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMax age mode is defined as the int value of the AgeRestriction enum * -
Method Summary
Modifier and TypeMethodDescriptionfullSet()
Returns the default value for this tag property.getName()
The "name" of this property.static TagProp
Returns the TagProp for the given name (Case insensitive).getType()
Returns the type of the tag property.boolean
Returns true if this tag prop should be accessed through Tag.getAttribute(), or if it is a virtual property (Value, Name, Quality, Enabled, and LastChange are all the "Virtual" propreties)boolean
Returns whether this is property that can be updated on the fly, without reloading the tag.static boolean
boolean
boolean
property()
TagProp implements Property.boolean
Returns whether the string value of this property should be "interned" for performance.static TagProp
Returns the enum constant of this class with the specified name.static TagProp[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Value
-
Name
-
Quality
-
Enabled
-
AccessRights
-
OPCServer
-
OPCItemPath
-
OPCWriteBackServer
-
OPCWriteBackItemPath
-
ScaleMode
-
RawLow
-
RawHigh
-
ScaledLow
-
ScaledHigh
-
ClampMode
-
Deadband
-
FormatString
-
EngUnit
-
Tooltip
-
EngHigh
-
EngLow
-
Documentation
-
Expression
-
ExpressionType
-
AlertMode
-
AlertAckMode
-
AlertSendClear
-
AlertMessageMode
-
AlertMessage
-
AlertNotes
-
AlertDisplayPath
-
AlertDeadband
-
LastChange
-
DriverName
-
ScanClass
-
PollRate
-
SQLBindingDatasource
-
PrimaryHistoryProvider
-
HistoricalDeadband
-
HistoryEnabled
-
HistoricalScanclass
-
InterpolationMode
-
AlertExecEnabled
-
AlertActive
-
AlertCurrentState
-
AlertCurrentSeverity
-
AlertAcknowledged
-
AlertAcknowledgeUser
-
AlertActiveTime
-
AlertAcknowledgedTime
-
AlertClearedTime
-
AlertTimestampSource
-
AlertMessageSubject
-
HistoryTimestampSource
-
HistoryMaxAgeMode
Max age mode is defined as the int value of the AgeRestriction enum * -
HistoryMaxAge
-
DataType
-
TagTypeSubCode
-
TagType
-
UDTParentType
-
ExtendedProperties
-
PropertyOverrides
-
UDTMemberUID
-
AlarmActiveUnackCount
-
AlarmActiveAckCount
-
ScaleFactor
-
EngLimitMode
-
AlarmClearUnackCount
-
AlarmHighestUnackPriority
-
AlarmHighestUnackName
-
AlarmHighestAckName
-
AlarmHighestAckPriority
-
DeadbandMode
-
HistoricalDeadbandMode
-
EventScripts
-
QueryType
-
RuntimeQuality
-
AlarmShelvedCount
-
PersistValue
-
SourceDataType
-
SourceTagPath
-
DeriveExpressionGetter
-
DeriveExpressionSetter
-
QueryParameters
-
BrowseValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getProp
Returns the TagProp for the given name (Case insensitive). Returns null if there is no TagProp of that name. -
isTagProp
-
getName
Description copied from interface:Property
The "name" of this property. Should be descriptive, but also unique. To this end, it is encouraged to make your keys fully qualified by prefixing them with your module id. For example: "mymod.MyProperty". Properties defined by the system start with "sys." -
isWriteable
public boolean isWriteable() -
isAttribute
public boolean isAttribute()Returns true if this tag prop should be accessed through Tag.getAttribute(), or if it is a virtual property (Value, Name, Quality, Enabled, and LastChange are all the "Virtual" propreties) -
isTransient
public boolean isTransient() -
getType
Returns the type of the tag property. Some tag properties (notable the value property) can have variable type, in which case this will return Object -
getDefaultValue
Returns the default value for this tag property.- Specified by:
getDefaultValue
in interfaceProperty<Object>
-
getTypeClass
-
isRuntimeProperty
public boolean isRuntimeProperty()Returns whether this is property that can be updated on the fly, without reloading the tag. In other words, not a core configuration property. -
shouldIntern
public boolean shouldIntern()Returns whether the string value of this property should be "interned" for performance. -
setOf
-
fullSet
-
property
TagProp implements Property. However, it cannot properly implement the hashCode() and equals() functions as the Property interface dictates. So, we have this wrapper, which is safe for use in property sets and other places where hashing is required.
-