public static interface IDocumentStructureProvider.IFieldInfo
Modifier and Type | Method and Description |
---|---|
IDocumentStructureProvider.IFieldInfo[] |
getFields()
If
isComplexType() is true , return non empty array of fields. |
String |
getName()
Field name.
|
String |
getType()
Type of the field.
|
boolean |
isArray()
Return
true if this field is an array of getType() elements. |
boolean |
isComplexType()
Return
true if this field represents a complex type, i.e. |
boolean |
isReadOnly()
Return
true if this field is readonly |
String getName()
null
String getType()
null
if type is unknown or if
isComplexType()
is true
.
May return type from any type system. The client is responsible for mapping to the
target type system.null
if unknownboolean isReadOnly()
true
if this field is readonlyfalse
for writable fieldsboolean isComplexType()
true
if this field represents a complex type, i.e. a type that is
constructed from other fields. In this case the client expects
that the structure of this complex type is defined inplace, i.e. the client does
not have any knowlendge how to de-reference the complex type automatically. It
is the responsibility of the provider to make such resolution and provide non-empty
getFields()
array.false
if getFields()
returns null or empty arrayboolean isArray()
true
if this field is an array of getType()
elements.false
if getFields()
returns null
or empty arrayIDocumentStructureProvider.IFieldInfo[] getFields()
isComplexType()
is true
, return non empty array of fields.