com.infoengine.schema
Class LDAPGenerator

java.lang.Object
  extended bycom.infoengine.schema.LDAPGenerator
All Implemented Interfaces:
SchemaGenerator

public class LDAPGenerator
extends Object
implements SchemaGenerator


Field Summary
private static String DELEGATE_DIRECTORY
           
private static String REPOSITORY
           
private static String REPOSITORY_TYPE
           
private static String RESOURCE
           
 
Constructor Summary
LDAPGenerator()
           
 
Method Summary
 SchemaObject generateSchema(String type, Task t)
           
private  String getDefaultRepoitory()
           
private  TypeId getSuperTypeId(DelegateDirectory dir, RepositoryType rType, TypeId tid)
           
private  void mergeComplexTypes(ComplexType cType, ComplexType scType)
           
private  void mergeSimpleTypes(SimpleType sType, SimpleType ssType)
           
private  void recurseTypeHierarchy(DelegateDirectory dir, RepositoryType rType, TypeId tid, SchemaObject schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

REPOSITORY

private static final String REPOSITORY
See Also:
Constant Field Values

REPOSITORY_TYPE

private static final String REPOSITORY_TYPE
See Also:
Constant Field Values

DELEGATE_DIRECTORY

private static final String DELEGATE_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

LDAPGenerator

public LDAPGenerator()
Method Detail

getDefaultRepoitory

private String getDefaultRepoitory()

generateSchema

public SchemaObject generateSchema(String type,
                                   Task t)
                            throws IEException
Specified by:
generateSchema in interface SchemaGenerator
Throws:
IEException

recurseTypeHierarchy

private void recurseTypeHierarchy(DelegateDirectory dir,
                                  RepositoryType rType,
                                  TypeId tid,
                                  SchemaObject schema)
                           throws IEException
Throws:
IEException

getSuperTypeId

private TypeId getSuperTypeId(DelegateDirectory dir,
                              RepositoryType rType,
                              TypeId tid)
                       throws IEException
Throws:
IEException

mergeComplexTypes

private void mergeComplexTypes(ComplexType cType,
                               ComplexType scType)

mergeSimpleTypes

private void mergeSimpleTypes(SimpleType sType,
                              SimpleType ssType)