Package com.nt.udc.osar
Class ObjectAttr
java.lang.Object
com.nt.udc.osar.OSARecAttr
com.nt.udc.osar.ObjectAttr
- All Implemented Interfaces:
Externalizable
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte
double
float
int
long
short
int
getType()
void
readExternal
(ObjectInput obj_in) void
setObject
(Externalizable object) void
setObjectWOupdate
(Externalizable object) toString()
void
void
writeExternal
(ObjectOutput obj_out) Methods inherited from class com.nt.udc.osar.OSARecAttr
equals, getBytes, getLength, getLengthInWord, getStaticAttrLength, getTag, getValueBytes, init, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, setTag, setValue, toStream
-
Constructor Details
-
ObjectAttr
public ObjectAttr() -
ObjectAttr
-
-
Method Details
-
setObject
-
setObjectWOupdate
-
getObject
-
updateBytes
public void updateBytes() -
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getType
public int getType()- Specified by:
getType
in classOSARecAttr
-
getBytesValue
public byte[] getBytesValue() -
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
-
getIntValue
public int getIntValue()- Specified by:
getIntValue
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
-
toString
- Overrides:
toString
in classOSARecAttr
-