Package com.nt.udc.ndk.node
Class IntField
java.lang.Object
com.nt.udc.ndk.node.DCField
com.nt.udc.ndk.node.IntField
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntField()
IntField
(int id, byte[] val) Deprecated.Use new IntField(FieldKey) followed by setValue(byte[])IntField
(int id, int val) Deprecated.Use new IntField(FieldKEy,int)Deprecated.Use new IntField(FieldKey) followed by setValue(byte[])Deprecated.Use new IntField(FieldKey key,int val) -
Method Summary
Methods inherited from class com.nt.udc.ndk.node.DCField
clone, create, dup, equals, equalsValue, getBytes, getBytesValue, getDCField, getDCField, getDCField, getID, getKey, getLength, 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
-
IntField
Deprecated.Use new IntField(FieldKEy,int) -
IntField
public IntField() -
IntField
-
IntField
-
IntField
Deprecated.Use new IntField(FieldKey key,int val) -
IntField
Deprecated.Use new IntField(FieldKey) followed by setValue(byte[]) -
IntField
Deprecated.Use new IntField(FieldKey) followed by setValue(byte[])
-
-
Method Details
-
setValue
Sets the value of this IntField from the given int value- Throws:
NDKException
-
setValue
public void setValue(byte[] val, int offset, int len) -
setValue
Sets the value of this IntField from the given String- Throws:
NDKException
-
getType
public int getType() -
getIntValue
- Overrides:
getIntValue
in classDCField
- Throws:
ClassCastException
-
getByteValue
- Overrides:
getByteValue
in classDCField
- Throws:
ClassCastException
-
getDateValue
- Overrides:
getDateValue
in classDCField
- Throws:
ClassCastException
-
getDoubleValue
- Overrides:
getDoubleValue
in classDCField
- Throws:
ClassCastException
-
getFloatValue
- Overrides:
getFloatValue
in classDCField
- Throws:
ClassCastException
-
getLongValue
- Overrides:
getLongValue
in classDCField
- Throws:
ClassCastException
-
getStringValue
- Overrides:
getStringValue
in classDCField
- Throws:
ClassCastException
-