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