|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.jdo.jpa.info.InfoToDescriptorConverter
public final class InfoToDescriptorConverter
This Class converts a ClassInfo
and its contained FieldInfo
s
to a ClassDescriptor
with FieldDescriptor
s.
#convert(ClassInfo)
) and Fields (
convert(ClassDescriptor, FieldInfo)
)
Method Summary | |
---|---|
static ClassDescriptorImpl |
convert(ClassInfo classInfo,
ClassDescriptorResolutionCommand command)
This method converts a ClassInfo to a ClassDescriptorImpl . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClassDescriptorImpl convert(ClassInfo classInfo, ClassDescriptorResolutionCommand command) throws MappingException
ClassInfo
to a ClassDescriptorImpl
.
Implemented Features of ClassDescriptorImpl
ClassDescriptorImpl.getExtends()
ClassDescriptorImpl.getFields()
ClassDescriptorImpl.getIdentities()
ClassDescriptorImpl.getIdentity()
ClassDescriptorImpl.getJavaClass()
ClassDescriptorImpl
Implemented Features of ClassDescriptorJDONature
Unimplemented Features of ClassDescriptorJDONature
ClassDescriptorJDONature.getTableName()
ClassDescriptorJDONature.getAccessMode()
ClassDescriptorJDONature.getCacheParams()
ClassDescriptorJDONature.getKeyGeneratorDescriptor()
ClassDescriptorJDONature.getNamedQueries()
classInfo
- The ClassInfo
to convert.command
- The ClassDescriptorResolutionCommand
to ask for needed
ClassDescriptor
s (of extended, used classes).
ClassDescriptorImpl
for the class described by the
given ClassInfo
.
MappingException
- if the class has not a public available default constructor
or the ClassDescriptor
of a related class can not be
found by the ClassDescriptorManager
.InfoToDescriptorConverter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |