org.castor.jdo.jpa.info
Class InfoToDescriptorConverter
java.lang.Object
org.castor.jdo.jpa.info.InfoToDescriptorConverter
public final class InfoToDescriptorConverter
- extends Object
This Class converts a ClassInfo and its contained FieldInfos
to a ClassDescriptor with FieldDescriptors.
Working getters for Classes (#convert(ClassInfo)) and Fields (
#convert(ClassDescriptor, FieldInfo))
- Since:
- 1.3
- Author:
- Peter Schmidt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convert
public static void convert(ClassInfo classInfo,
ClassDescriptorResolver cdr,
ClassDescriptorImpl descriptor)
throws MappingException
- This method converts a
ClassInfo to a ClassDescriptorImpl
. Implemented Features of ClassDescriptorImpl
Unimplemented Features of ClassDescriptorImpl
Implemented Features of ClassDescriptorJDONature
Unimplemented Features of ClassDescriptorJDONature
- Parameters:
classInfo - The ClassInfo to convert.cdr - The ClassDescriptorResolver to ask for needed
ClassDescriptors (of extended or related classes).descriptor - A ClassDescriptorImpl for the class described by the
given ClassInfo. This will be filled with information!
- Throws:
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.- See Also:
InfoToDescriptorConverter
Copyright © 2010. All Rights Reserved.