public final class InfoToDescriptorConverter
extends java.lang.Object
This Class converts a ClassInfo
and its contained FieldInfo
s
to a ClassDescriptor
with FieldDescriptor
s.
#convert(ClassInfo)
) and Fields (
#convert(ClassDescriptor, FieldInfo)
)Modifier and Type | Method | Description |
---|---|---|
static void |
convert(ClassInfo classInfo,
ClassDescriptorResolver cdr,
ClassDescriptorImpl descriptor) |
This method converts a
ClassInfo to a ClassDescriptorImpl
. |
public static void convert(ClassInfo classInfo, ClassDescriptorResolver cdr, ClassDescriptorImpl descriptor) throws MappingException
ClassInfo
to a ClassDescriptorImpl
. Implemented Features of ClassDescriptorImpl
ClassDescriptorImpl.getExtends()
ClassDescriptorImpl.getFields()
ClassDescriptorImpl.getIdentities()
ClassDescriptorImpl.getIdentity()
ClassDescriptorImpl.getJavaClass()
ClassDescriptorImpl.getMapping()
ClassDescriptorImpl
Implemented Features of ClassDescriptorJDONature
ClassDescriptorJDONature.getTableName()
ClassDescriptorJDONature.getExtended()
ClassDescriptorJDONature.getField(String)
ClassDescriptorJDONature.getCacheParams()
ClassDescriptorJDONature
classInfo
- The ClassInfo
to convert.cdr
- The ClassDescriptorResolver
to ask for needed
ClassDescriptor
s (of extended or related classes).descriptor
- A ClassDescriptorImpl
for the class described by the
given ClassInfo
. This will be filled with information!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
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com