Package com.nt.udc.ndk.node
Class BytesField
java.lang.Object
com.nt.udc.ndk.node.DCField
com.nt.udc.ndk.node.BytesField
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
UINT128Field
The class BytesField.
It deal with the Bytes attribute
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBytesField
(int id, byte[] val) Deprecated.Use new BytesField(FieldKey,byte[])BytesField
(FieldKey key) BytesField
(FieldKey id, byte[] val) BytesField
(String id, byte[] val) Deprecated.Use new BytesField(FieldKey,byte[]) -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
Sets the value of this BytesField from the given StringMethods inherited from class com.nt.udc.ndk.node.DCField
clone, create, dup, equals, equalsValue, getBytes, getBytesValue, getByteValue, getDateValue, getDCField, getDCField, getDCField, getDoubleValue, getFloatValue, getID, getIntValue, getKey, getLength, getLongValue, getShortValue, getStaticAttrLength, init, init, init, isEmpty, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, readValueFromStream, setID, setID, setKey, setType, setValue, toString, writeValueToStream
-
Field Details
-
LENGTH
public static final int LENGTH- See Also:
-
-
Constructor Details
-
BytesField
public BytesField() -
BytesField
-
BytesField
-
BytesField
Deprecated.Use new BytesField(FieldKey,byte[]) -
BytesField
Deprecated.Use new BytesField(FieldKey,byte[])
-
-
Method Details
-
setValue
Sets the value of this BytesField from the given String- Throws:
NDKException
-
getType
public int getType() -
getStringValue
- Overrides:
getStringValue
in classDCField
- Throws:
ClassCastException
-