public interface CompositeType extends ComplexType
Each schema defines its own namespace to avoid field name collisions.
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema(String name)
Gets the composite type schema given its name.
|
String[] |
getSchemaNames()
Gets the schema names of this type.
|
Collection<Schema> |
getSchemas()
Gets all the schemas (including inherited schemas) of this composite type.
|
boolean |
hasSchema(String name)
Checks if this composite type has the given schema.
|
boolean |
hasSchemas()
Checks if this composite type has any schema defined.
|
addField, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasFields
convert, decode, encode, getConstraints, getName, getObjectResolver, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isSimpleType, isSuperTypeOf, newInstance, validate
Schema getSchema(String name)
name
- the schema nameboolean hasSchemas()
boolean hasSchema(String name)
name
- the schema nameString[] getSchemaNames()
Collection<Schema> getSchemas()
Copyright © 2015 Nuxeo SA. All rights reserved.