|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.xml.VotField
cds.xml.VotStandardField
cds.xml.VotMeasurementField
Describes a field from a measurement type. These objects are kept in a VotTable object
Field Summary | |
(package private) int |
fldnum
|
(package private) int |
posBegin
|
(package private) int |
posEnd
|
Fields inherited from class cds.xml.VotStandardField |
type |
Fields inherited from class cds.xml.VotField |
arraysize, datatype, description, done, id, link, name, precision, ref, ucd, unit, values, width |
Constructor Summary | |
VotMeasurementField()
|
|
VotMeasurementField(java.lang.String id)
|
Method Summary | |
java.lang.String |
extractField(java.lang.String measurement)
Returns the field substring from a full measurement string. |
int |
getBegin()
Returns the beginning position of this field in a measurement |
int |
getEnd()
Returns the end position of this field in a measurement |
int |
getLength()
Returns the length of this field |
void |
setFieldLimits(int begin,
int end)
Sets the limits of the field in a measurement |
void |
setFieldNum(int num)
Sets the field number |
Methods inherited from class cds.xml.VotStandardField |
getType, setType |
Methods inherited from class cds.xml.VotField |
getArraysize, getDatatype, getDescription, getId, getLink, getName, getPrecision, getRef, getUcd, getUnit, getWidth, isDone, set, setArraysize, setDatatype, setDescription, setDone, setId, setLink, setName, setPrecision, setRef, setUcd, setUnit, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int fldnum
int posBegin
int posEnd
Constructor Detail |
public VotMeasurementField()
public VotMeasurementField(java.lang.String id)
Method Detail |
public void setFieldNum(int num)
num
- field numberpublic void setFieldLimits(int begin, int end)
begin
- beginning positionend
- end positionpublic final int getBegin()
public final int getEnd()
public java.lang.String extractField(java.lang.String measurement)
measurement
- the measurement from which the field should be
extracted
public final int getLength()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |