public class DocumentTypeDescriptor extends Object
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.
Modifier and Type | Field and Description |
---|---|
boolean |
append |
String[] |
facets |
String[] |
forbiddenSubtypes |
String |
name |
String |
prefetch |
SchemaDescriptor[] |
schemas |
String[] |
subtypes |
String |
superTypeName |
Constructor and Description |
---|
DocumentTypeDescriptor() |
DocumentTypeDescriptor(String superTypeName,
String name,
SchemaDescriptor[] schemas,
String[] facets) |
DocumentTypeDescriptor(String superTypeName,
String name,
SchemaDescriptor[] schemas,
String[] facets,
String[] subtypes,
String[] forbiddenSubtypes) |
Modifier and Type | Method and Description |
---|---|
DocumentTypeDescriptor |
clone() |
DocumentTypeDescriptor |
merge(DocumentTypeDescriptor other) |
String |
toString() |
public SchemaDescriptor[] schemas
public String superTypeName
public boolean append
public String[] forbiddenSubtypes
public DocumentTypeDescriptor()
public DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets)
public DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets, String[] subtypes, String[] forbiddenSubtypes)
public DocumentTypeDescriptor clone()
public DocumentTypeDescriptor merge(DocumentTypeDescriptor other)
Copyright © 2018 Nuxeo. All rights reserved.