public interface Structure extends Field
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ID
Default structure ID.
|
Modifier and Type | Method and Description |
---|---|
Field |
getField(int fieldIndex)
Get a sub fields by index.
|
Field |
getField(String fieldName)
Get the Field for the specified fieldName
|
int |
getFieldIndex(String fieldName)
Get the index of the specified field.
|
String |
getFieldName(int fieldIndex)
Get the name of the subfield by index.
|
String[] |
getFieldNames()
Get the array of the subfield names.
|
Field[] |
getFields()
Get all the subfields of the structure.
|
getID, getType, toString, toString, toString
deserialize, serialize
static final String DEFAULT_ID
Field getField(String fieldName)
fieldName
- The name of the field.int getFieldIndex(String fieldName)
fieldName
- The name of the field.Field[] getFields()
Field getField(int fieldIndex)
fieldIndex
- The field index.String[] getFieldNames()
String getFieldName(int fieldIndex)
fieldIndex
- The field index.Copyright © 2014. All Rights Reserved.