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