Package com.nt.udc.ndk.node
Class DoubleField
java.lang.Object
com.nt.udc.ndk.node.DCField
com.nt.udc.ndk.node.DoubleField
- All Implemented Interfaces:
Serializable,Cloneable
The class DoubleField.
It is sub-class of DCField
It deal with the double attribute
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDoubleField(int id, byte[] val) DoubleField(int id, double val) DoubleField(FieldKey id, double val) DoubleField(String id, byte[] val) DoubleField(String id, double 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, 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
-
DoubleField
public DoubleField(int id, double val) -
DoubleField
-
DoubleField
-
DoubleField
public DoubleField(int id, byte[] val) -
DoubleField
-
-
Method Details
-
setValue
Sets the value of this DoubleField from the given double- Throws:
NDKException
-
setValue
Sets the value of this DoubleField from the given String- Throws:
NDKException
-
getType
public int getType() -
getDateValue
- Overrides:
getDateValuein classDCField- Throws:
ClassCastException
-
getDoubleValue
- Overrides:
getDoubleValuein classDCField- Throws:
ClassCastException
-
getByteValue
- Overrides:
getByteValuein classDCField- Throws:
ClassCastException
-
getShortValue
- Overrides:
getShortValuein classDCField- Throws:
ClassCastException
-
getIntValue
- Overrides:
getIntValuein classDCField- Throws:
ClassCastException
-
getFloatValue
- Overrides:
getFloatValuein classDCField- Throws:
ClassCastException
-
getLongValue
- Overrides:
getLongValuein classDCField- Throws:
ClassCastException
-
getStringValue
- Overrides:
getStringValuein classDCField- Throws:
ClassCastException
-