|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.label.object.FieldDescription
public class FieldDescription
Implements a description of a table field.
Constructor Summary | |
---|---|
FieldDescription()
|
Method Summary | |
---|---|
int |
getLength()
Gets the field length, in bytes. |
String |
getName()
Gets the field name. |
int |
getOffset()
Gets the field offset, the number of bytes past the beginning of the record where the field starts. |
int |
getStartBit()
Gets the start bit, for bit fields. |
int |
getStopBit()
Gets the stop bit, for bit fields. |
FieldType |
getType()
Gets the field type. |
void |
setLength(int length)
Sets the field length, in bytes. |
void |
setName(String name)
Sets the field name. |
void |
setOffset(int offset)
Sets the field offset. |
void |
setStartBit(int startBit)
Sets the start bit, for bit fields. |
void |
setStopBit(int stopBit)
Sets the stop bit, for bit fields. |
void |
setType(FieldType type)
Sets the field type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldDescription()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- the new field namepublic FieldType getType()
public void setType(FieldType type)
type
- the new field typepublic int getOffset()
public void setOffset(int offset)
offset
- the field offsetpublic int getLength()
public void setLength(int length)
length
- the new field lengthpublic int getStartBit()
public void setStartBit(int startBit)
startBit
- the new start bitpublic int getStopBit()
public void setStopBit(int stopBit)
stopBit
- the new stop bit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |