public class FieldDescription extends Object
Constructor and Description |
---|
FieldDescription() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 bitCopyright © 2010–2016 Planetary Data System. All rights reserved.