|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides information about structures which are cached in the service manager repository. A structure is uniquely identified by its name within a given service manager instance. Structures contain a number of fields, whose descriptors can be accessed through structure descriptor objects.
IFieldDescriptor| Method Summary | |
IFieldDescriptor |
getFieldDescriptor(int index)
Returns the field descriptor of the field with index in this structure. |
IFieldDescriptor |
getFieldDescriptor(java.lang.String fieldName)
Returns the field desriptor of the field with the given name in this structure. |
IFieldDescriptor[] |
getFieldDescriptors()
Returns an array which contains all field descriptors in this structure. |
int |
getFieldIndex(java.lang.String name)
Returns the index of the field with given name or -1 if the field does not exist. |
java.lang.String |
getName()
Returns the name of the structure. |
boolean |
hasField(java.lang.String fieldName)
Returns whether this structure contains a field with the given name. |
int |
size()
Returns the number of fields of this structure. |
| Method Detail |
public java.lang.String getName()
public int getFieldIndex(java.lang.String name)
name - the name of the fieldpublic int size()
public IFieldDescriptor getFieldDescriptor(int index)
public IFieldDescriptor getFieldDescriptor(java.lang.String fieldName)
java.lang.IllegalArgumentException - if no field with the given name exists in
this structure.public IFieldDescriptor[] getFieldDescriptors()
public boolean hasField(java.lang.String fieldName)
fieldName - the name of the fieldtrue if a field with the given name
exists in this structure, otherwise false
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||