org.apache.chemistry.opencmis.inmemory.types
Class DefaultTypeSystemCreator

java.lang.Object
  extended by org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator
All Implemented Interfaces:
TypeCreator

public class DefaultTypeSystemCreator
extends java.lang.Object
implements TypeCreator


Field Summary
static java.lang.String COMPLEX_TYPE
           
static java.lang.String LEVEL1_TYPE
           
static java.lang.String LEVEL2_TYPE
           
static java.util.List<TypeDefinition> singletonTypes
           
static java.lang.String TOPLEVEL_TYPE
           
static java.lang.String VERSIONED_TYPE
           
 
Constructor Summary
DefaultTypeSystemCreator()
           
 
Method Summary
 java.util.List<TypeDefinition> createTypesList()
          in the public interface of this class we return the singleton containing the required types for testing
static TypeDefinition getTypeById(java.lang.String typeId)
           
static java.util.List<TypeDefinition> getTypesList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singletonTypes

public static final java.util.List<TypeDefinition> singletonTypes

COMPLEX_TYPE

public static final java.lang.String COMPLEX_TYPE
See Also:
Constant Field Values

TOPLEVEL_TYPE

public static final java.lang.String TOPLEVEL_TYPE
See Also:
Constant Field Values

VERSIONED_TYPE

public static final java.lang.String VERSIONED_TYPE
See Also:
Constant Field Values

LEVEL1_TYPE

public static final java.lang.String LEVEL1_TYPE
See Also:
Constant Field Values

LEVEL2_TYPE

public static final java.lang.String LEVEL2_TYPE
See Also:
Constant Field Values
Constructor Detail

DefaultTypeSystemCreator

public DefaultTypeSystemCreator()
Method Detail

createTypesList

public java.util.List<TypeDefinition> createTypesList()
in the public interface of this class we return the singleton containing the required types for testing

Specified by:
createTypesList in interface TypeCreator

getTypesList

public static java.util.List<TypeDefinition> getTypesList()

getTypeById

public static TypeDefinition getTypeById(java.lang.String typeId)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.