|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.dataAccess.iso8211.DDFSubfield
public class DDFSubfield
Class containing subfield information for a DDFField object.
Field Summary | |
---|---|
protected int |
byteSize
The number of bytes the field took up in the data file. |
protected DDFSubfieldDefinition |
defn
A DDFSubfieldDefinition defining the admin part of the file that contains the subfield data. |
protected java.lang.Object |
value
The object containing the value of the field. |
Constructor Summary | |
---|---|
protected |
DDFSubfield()
|
|
DDFSubfield(DDFSubfieldDefinition poSFDefn,
byte[] pachFieldData,
int nBytesRemaining)
Create a subfield with a definition and the bytes containing the information for the value. |
|
DDFSubfield(DDFSubfieldDefinition ddfsd,
java.lang.Object value)
Create a subfield with a definition and a value. |
Method Summary | |
---|---|
float |
floatValue()
Get the value of the subfield as a float. |
int |
getByteSize()
|
DDFSubfieldDefinition |
getDefn()
|
java.lang.Object |
getValue()
Get the value of the subfield. |
int |
intValue()
Get the value of the subfield as an int. |
void |
setDefn(DDFSubfieldDefinition ddsfd)
|
void |
setValue(java.lang.Object o)
Set the value of the subfield. |
java.lang.String |
stringValue()
|
java.lang.String |
toString()
Return a string 'key = value', describing the field and its value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected DDFSubfieldDefinition defn
protected java.lang.Object value
protected int byteSize
Constructor Detail |
---|
protected DDFSubfield()
public DDFSubfield(DDFSubfieldDefinition ddfsd, java.lang.Object value)
public DDFSubfield(DDFSubfieldDefinition poSFDefn, byte[] pachFieldData, int nBytesRemaining)
Method Detail |
---|
public int getByteSize()
public void setDefn(DDFSubfieldDefinition ddsfd)
public DDFSubfieldDefinition getDefn()
public void setValue(java.lang.Object o)
public java.lang.Object getValue()
public int intValue()
public float floatValue()
public java.lang.String stringValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |