public class COSARAttrIP extends COSARAttr
| Modifier | Constructor and Description |
|---|---|
protected |
COSARAttrIP(int type,
java.lang.String id,
byte[] value,
int requiredBytes) |
protected |
COSARAttrIP(int type,
java.lang.String id,
int requiredBytes) |
|
COSARAttrIP(java.lang.String id) |
|
COSARAttrIP(java.lang.String id,
byte[] value) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytesValue() |
byte[] |
getIPValue() |
OSARecAttr |
getRecAttr() |
java.lang.String |
getStringValue() |
byte[] |
getValue() |
boolean |
setStringValue(java.lang.String value)
This function sets the attribute value based on a string.
|
boolean |
setValue(COSARAttr attr)
This function sets converts the value contained by the
passed attribute to the current type
|
java.lang.String |
toString() |
getDCField, getDoubleValue, getId, getLongValue, getMillisValue, getType, idToInt, setIdprotected COSARAttrIP(int type,
java.lang.String id,
byte[] value,
int requiredBytes)
throws java.lang.Exception
java.lang.Exceptionpublic COSARAttrIP(java.lang.String id,
byte[] value)
throws java.lang.Exception
java.lang.Exceptionprotected COSARAttrIP(int type,
java.lang.String id,
int requiredBytes)
throws java.lang.Exception
java.lang.Exceptionpublic COSARAttrIP(java.lang.String id)
throws java.lang.Exception
java.lang.Exceptionpublic byte[] getValue()
public java.lang.String getStringValue()
throws java.lang.Exception
getStringValue in class COSARAttrjava.lang.Exceptionpublic byte[] getIPValue()
throws java.lang.Exception
getIPValue in class COSARAttrjava.lang.Exceptionpublic byte[] getBytesValue()
throws java.lang.Exception
getBytesValue in class COSARAttrjava.lang.Exceptionpublic OSARecAttr getRecAttr()
getRecAttr in class COSARAttrpublic java.lang.String toString()
public boolean setStringValue(java.lang.String value)
COSARAttrsetStringValue in class COSARAttr