Package com.nt.udc.io
Class COSARAttrUInt
java.lang.Object
com.nt.udc.io.COSARAttr
com.nt.udc.io.COSARAttrUInt
This class represents the unsigned int 128 OSAR attribute.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
getValue()
boolean
setStringValue
(String value) This function sets the attribute value based on a string.void
setValue
(byte[] value) boolean
This function is used to convert the value of another attribute and store it.toString()
Methods inherited from class com.nt.udc.io.COSARAttr
getDCField, getDoubleValue, getId, getIPValue, getLongValue, getMillisValue, getType, idToInt, setId
-
Field Details
-
m_value
protected byte[] m_value
-
-
Constructor Details
-
COSARAttrUInt
-
COSARAttrUInt
-
-
Method Details
-
getValue
public byte[] getValue() -
getStringValue
- Overrides:
getStringValue
in classCOSARAttr
- Returns:
- The value as a string
- Throws:
Exception
-
getBytesValue
- Overrides:
getBytesValue
in classCOSARAttr
- Returns:
- The value as an array of bytes
- Throws:
Exception
-
getRecAttr
- Overrides:
getRecAttr
in classCOSARAttr
- Returns:
- The equivalent OSARecAttr
-
toString
-
setValue
public void setValue(byte[] value) -
setStringValue
This function sets the attribute value based on a string.- Overrides:
setStringValue
in classCOSARAttr
- Returns:
- true if successful, false otherwise
-
setValue
This function is used to convert the value of another attribute and store it.
-