com.cedarsoft.codegen.model
Class DomainObjectDescriptorFactory

java.lang.Object
  extended by com.cedarsoft.codegen.model.DomainObjectDescriptorFactory

public class DomainObjectDescriptorFactory
extends Object


Field Summary
static String JAVA_LANG_OBJECT
           
 
Constructor Summary
DomainObjectDescriptorFactory(com.sun.mirror.declaration.ClassDeclaration classDeclaration)
           
 
Method Summary
 DomainObjectDescriptor create()
           
 ConstructorCallInfo findConstructorCallInfoForField(com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
           
 ConstructorCallInfo findConstructorCallInfoForField(String simpleName, com.sun.mirror.type.TypeMirror type)
           
 FieldInitializedInConstructorInfo findFieldInitializedInConstructor(String simpleName)
           
 com.sun.mirror.declaration.ClassDeclaration getClassDeclaration()
           
 FieldInitializedInConstructorInfo getFieldInitializeInConstructorInfo(com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
           
 FieldWithInitializationInfo getFieldWithInitializationInfo(com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_LANG_OBJECT

@NonNls
public static final String JAVA_LANG_OBJECT
See Also:
Constant Field Values
Constructor Detail

DomainObjectDescriptorFactory

public DomainObjectDescriptorFactory(@NotNull
                                     com.sun.mirror.declaration.ClassDeclaration classDeclaration)
Method Detail

create

@NotNull
public DomainObjectDescriptor create()

getFieldWithInitializationInfo

@NotNull
public FieldWithInitializationInfo getFieldWithInitializationInfo(@NotNull
                                                                          com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)

findConstructorCallInfoForField

@NotNull
public ConstructorCallInfo findConstructorCallInfoForField(@NotNull
                                                                   com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
                                                    throws IllegalArgumentException
Throws:
IllegalArgumentException

findConstructorCallInfoForField

@NotNull
public ConstructorCallInfo findConstructorCallInfoForField(@NotNull@NonNls
                                                                   String simpleName,
                                                                   @NotNull
                                                                   com.sun.mirror.type.TypeMirror type)
                                                    throws IllegalArgumentException
Throws:
IllegalArgumentException

findFieldInitializedInConstructor

@NotNull
public FieldInitializedInConstructorInfo findFieldInitializedInConstructor(@NotNull@NonNls
                                                                                   String simpleName)

getFieldInitializeInConstructorInfo

@NotNull
public FieldInitializedInConstructorInfo getFieldInitializeInConstructorInfo(@NotNull
                                                                                     com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)

getClassDeclaration

@NotNull
public com.sun.mirror.declaration.ClassDeclaration getClassDeclaration()


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.