Package org.nuxeo.ecm.core.schema
Class DocumentTypeDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.schema.DocumentTypeDescriptor
-
public class DocumentTypeDescriptor extends Object
Document Type Descriptor.Can be used to delay document type registration when not all prerequisites are met (e.g. supertype was not yet registered).
In this case the descriptor containing all the information needed to register the document is put in a queue waiting for the prerequisites to be met.
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description DocumentTypeDescriptor()
DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets)
DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets, String[] subtypes, String[] forbiddenSubtypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentTypeDescriptor
clone()
DocumentTypeDescriptor
merge(DocumentTypeDescriptor other)
String
toString()
-
-
-
Field Detail
-
schemas
public SchemaDescriptor[] schemas
-
superTypeName
public String superTypeName
-
append
public boolean append
-
special
public Boolean special
Allows to exclude the doctype from copy operations for example.- Since:
- 11.1
-
forbiddenSubtypes
public String[] forbiddenSubtypes
-
-
Constructor Detail
-
DocumentTypeDescriptor
public DocumentTypeDescriptor()
-
DocumentTypeDescriptor
public DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets)
-
DocumentTypeDescriptor
public DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets, String[] subtypes, String[] forbiddenSubtypes)
-
-
Method Detail
-
clone
public DocumentTypeDescriptor clone()
-
merge
public DocumentTypeDescriptor merge(DocumentTypeDescriptor other)
-
-