public class FieldDescription extends Object
Constructor and Description |
---|
FieldDescription() |
Modifier and Type | Method and Description |
---|---|
String |
getFormat() |
int |
getLength()
Gets the field length, in bytes.
|
Double |
getMaximum() |
int |
getMaxLength()
Gets the maximum field length, in bytes.
|
Double |
getMinimum() |
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 |
setFormat(String format) |
void |
setLength(int length)
Sets the field length, in bytes.
|
void |
setMaximum(Double max) |
void |
setMaxLength(int length)
Sets the maximum field length, in bytes.
|
void |
setMinimum(Double min) |
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 getMaxLength()
public void setMaxLength(int length)
length
- the new maximum 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 bitpublic String getFormat()
public void setFormat(String format)
public void setMinimum(Double min)
public Double getMinimum()
public void setMaximum(Double max)
public Double getMaximum()
Copyright © 2010–2018 Planetary Data System. All rights reserved.