public class Property extends DataVariableNode implements java.io.Serializable
arrayLength, dataType, value
Constructor and Description |
---|
Property(java.lang.String address,
DataValue value,
DataType type)
Creates a new scalar-valued Property.
|
Property(java.lang.String address,
java.lang.String name,
DataValue value,
DataType type)
Creates a new scalar-valued Property.
|
Property(java.lang.String address,
java.lang.String browseName,
java.lang.String displayName,
java.lang.String description,
DataValue value,
DataType type)
Creates a new scalar valued property.
|
Property(java.lang.String address,
java.lang.String browseName,
java.lang.String displayName,
java.lang.String description,
DataValue value,
DataType type,
int arrayLength)
Creates a new Property.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(BrowseNode child) |
void |
addProperty(Property prop) |
BrowseNodeType |
getBrowseNodeType()
The browse type for this node.
|
getArrayLength, getDataType, getValue
getAddress, getBrowseName, getChildren, getDescription, getDisplayName, getProperties, getUANode, setUANode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress, getBrowseName, getChildren, getDescription, getDisplayName, getProperties, getUANode, setUANode
public Property(java.lang.String address, DataValue value, DataType type)
address
- The address of the property. The address will be used as the property's BrowseName
and DisplayName.value
- The current value of the property.type
- The datatype of the property.public Property(java.lang.String address, java.lang.String name, DataValue value, DataType type)
address
- The address of the property.name
- The name of the property. Will be used as the BrowseName and the DisplayNamevalue
- The current value of the property.type
- The datatype of the property.public Property(java.lang.String address, java.lang.String browseName, java.lang.String displayName, java.lang.String description, DataValue value, DataType type)
address
- browseName
- displayName
- description
- value
- type
- public Property(java.lang.String address, java.lang.String browseName, java.lang.String displayName, java.lang.String description, DataValue value, DataType type, int arrayLength)
address
- browseName
- displayName
- description
- value
- type
- arrayLength
- The length of the array value. Use -1 for a scalar value.public BrowseNodeType getBrowseNodeType()
BrowseNode
getBrowseNodeType
in interface BrowseNode
getBrowseNodeType
in class DataVariableNode
public void addChild(BrowseNode child)
addChild
in class DataVariableNode
public void addProperty(Property prop)
addProperty
in class AbstractBrowseNode