|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RecordType
A representation of the type of a record.
| Method Summary | |
|---|---|
int |
count()
Gets the number of fields in the record. |
int |
fieldCount()
Gets the number of fields in the record. |
int |
getFieldIndex(Name name)
Gets the corresponding index in a record for a field by name |
FieldType |
getFieldType(int index)
Gets the field type at the specified index. |
FieldType |
getFieldTypeAt(int index)
Deprecated. since ServingXML 0.6.2: use getFieldType(int) |
FieldType[] |
getFieldTypes()
|
Name |
getName()
Gets the name of the record type. |
| Method Detail |
|---|
int count()
int fieldCount()
@Deprecated FieldType getFieldTypeAt(int index)
getFieldType(int)
index - the index of the field type.
FieldType getFieldType(int index)
index - the index of the field type.
Name getName()
int getFieldIndex(Name name)
name - the name of the field.
FieldType[] getFieldTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||