Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.schema
Class DocumentTypeDescriptor

java.lang.Object
  extended by 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

Field Summary
 String[] childrenTypes
           
 String[] facets
           
 String name
           
 String prefetch
           
 SchemaDescriptor[] schemas
           
 String superTypeName
           
 
Constructor Summary
DocumentTypeDescriptor()
           
DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

schemas

public SchemaDescriptor[] schemas

superTypeName

public String superTypeName

facets

public String[] facets

childrenTypes

public String[] childrenTypes

prefetch

public String prefetch
Constructor Detail

DocumentTypeDescriptor

public DocumentTypeDescriptor()

DocumentTypeDescriptor

public DocumentTypeDescriptor(String superTypeName,
                              String name,
                              SchemaDescriptor[] schemas,
                              String[] facets)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.