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, setId
protected COSARAttrIP(int type, java.lang.String id, byte[] value, int requiredBytes) throws java.lang.Exception
java.lang.Exception
public COSARAttrIP(java.lang.String id, byte[] value) throws java.lang.Exception
java.lang.Exception
protected COSARAttrIP(int type, java.lang.String id, int requiredBytes) throws java.lang.Exception
java.lang.Exception
public COSARAttrIP(java.lang.String id) throws java.lang.Exception
java.lang.Exception
public byte[] getValue()
public java.lang.String getStringValue() throws java.lang.Exception
getStringValue
in class COSARAttr
java.lang.Exception
public byte[] getIPValue() throws java.lang.Exception
getIPValue
in class COSARAttr
java.lang.Exception
public byte[] getBytesValue() throws java.lang.Exception
getBytesValue
in class COSARAttr
java.lang.Exception
public OSARecAttr getRecAttr()
getRecAttr
in class COSARAttr
public java.lang.String toString()
public boolean setStringValue(java.lang.String value)
COSARAttr
setStringValue
in class COSARAttr