Package com.nt.udc.osar
Class IntAttr
java.lang.Object
com.nt.udc.osar.OSARecAttr
com.nt.udc.osar.IntAttr
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.nt.udc.osar.OSARecAttr
equals, getBytes, getLength, getLengthInWord, getStaticAttrLength, getTag, getValueBytes, init, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, setTag, setValue, toStream, toString
-
Constructor Details
-
IntAttr
public IntAttr(int id, int val) -
IntAttr
public IntAttr(int id, byte[] val)
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in classOSARecAttr
-
getIntValue
public int getIntValue()- Specified by:
getIntValue
in classOSARecAttr
-
getByteValue
public byte getByteValue()- Specified by:
getByteValue
in classOSARecAttr
-
getDateValue
- Specified by:
getDateValue
in classOSARecAttr
-
getDoubleValue
public double getDoubleValue()- Specified by:
getDoubleValue
in classOSARecAttr
-
getFloatValue
public float getFloatValue()- Specified by:
getFloatValue
in classOSARecAttr
-
getLongValue
public long getLongValue()- Specified by:
getLongValue
in classOSARecAttr
-
getShortValue
public short getShortValue()- Specified by:
getShortValue
in classOSARecAttr
-
getStringValue
- Specified by:
getStringValue
in classOSARecAttr
-
getTimeValue
- Specified by:
getTimeValue
in classOSARecAttr
-
getTimestampValue
- Specified by:
getTimestampValue
in classOSARecAttr
-