Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.schema
Class DocumentTypeDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.DocumentTypeDescriptor

public class DocumentTypeDescriptor
extends java.lang.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
 java.lang.String[] childrenTypes
           
 java.lang.String[] facets
           
 java.lang.String name
           
 java.lang.String prefetch
           
 SchemaDescriptor[] schemas
           
 java.lang.String superTypeName
           
 
Constructor Summary
DocumentTypeDescriptor()
           
DocumentTypeDescriptor(java.lang.String superTypeName, java.lang.String name, SchemaDescriptor[] schemas, java.lang.String[] facets)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

schemas

public SchemaDescriptor[] schemas

superTypeName

public java.lang.String superTypeName

facets

public java.lang.String[] facets

childrenTypes

public java.lang.String[] childrenTypes

prefetch

public java.lang.String prefetch
Constructor Detail

DocumentTypeDescriptor

public DocumentTypeDescriptor()

DocumentTypeDescriptor

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.