|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schema
A marker interface for schemas.
A schema is a complex type that can be used used to create composite types - such as document types.
Schemas have no super types and must not be used as field types.
Field Summary |
---|
Fields inherited from interface org.nuxeo.ecm.core.schema.types.Type |
---|
ANY |
Method Summary | |
---|---|
TypeRef<Schema> |
getRef()
Gets a proxy (or reference to this type). |
Type |
getType(String typeName)
Gets a schema local type given its name. |
Type[] |
getTypes()
Gets the types declared by this schema. |
boolean |
isLazy()
|
void |
registerType(Type type)
Registers a new type in that schema context. |
void |
setLazy(boolean isLazy)
Sets the lazy flag for the given schema. |
Methods inherited from interface org.nuxeo.ecm.core.schema.types.ComplexType |
---|
addField, addField, addField, addField, getField, getField, getFields, getFieldsCount, getNamespace, hasField, hasField, hasFields, isUnstructured |
Methods inherited from interface org.nuxeo.ecm.core.schema.types.Type |
---|
decode, encode, getHelper, getName, getSchema, getSchemaName, getSuperType, getTypeHierarchy, isAnyType, isComplexType, isCompositeType, isListType, isNotNull, isReadOnly, isSimpleType, isSuperTypeOf, newInstance, validate |
Methods inherited from interface org.nuxeo.ecm.core.schema.types.ValueConverter |
---|
convert |
Method Detail |
---|
boolean isLazy()
void setLazy(boolean isLazy)
isLazy
- TypeRef<Schema> getRef()
Type
getRef
in interface ComplexType
getRef
in interface Type
Type[] getTypes()
Type getType(String typeName)
typeName
-
void registerType(Type type)
type
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |