|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.util.classresolution.command.BaseResolutionCommand
org.castor.cpa.util.classresolution.command.ClassResolutionByAnnotations
public class ClassResolutionByAnnotations
This ClassDescriptorResolutionCommand
is used to generate
ClassDescriptor
s from JPA annotated classes.
ClassInfoBuilder
,
InfoToDescriptorConverter
Constructor Summary | |
---|---|
ClassResolutionByAnnotations()
|
Method Summary | |
---|---|
ClassDescriptor |
resolve(java.lang.Class type)
Try to resolve/generate a ClassDescriptor for the given (JPA
annotated) type. |
Methods inherited from class org.castor.cpa.util.classresolution.command.BaseResolutionCommand |
---|
addNature, getClassDescriptorResolver, getProperty, hasNature, setClassDescriptorResolver, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassResolutionByAnnotations()
Method Detail |
---|
public ClassDescriptor resolve(java.lang.Class type)
ClassDescriptor
for the given (JPA
annotated) type.
type
- The Java class that needs a descriptor
ClassDescriptor
representing the given Class or
null if the given type can not be resolved. When this method is
called recursively (as in bidirectional relations) a reference
to an incomplete ClassDescriptor
is returned, which will
be finished when leaving the loop again.ClassDescriptorResolutionCommand.resolve(java.lang.Class)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |