public class ClassDescriptorHelper extends Object
| Constructor and Description |
|---|
ClassDescriptorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static FieldDescriptor[] |
getFullFields(ClassDescriptor classDescriptor)
Get all the
FieldDescriptors for non-identity fields, including all the fields in base
classes. |
static FieldDescriptor[] |
getIdFields(ClassDescriptor classDescriptor)
Get the all the id fields of a class If the class, C, is a dependent class, then the depended
class', D, id fields will be appended at the back and returned.
|
public static FieldDescriptor[] getFullFields(ClassDescriptor classDescriptor) throws MappingException
FieldDescriptors for non-identity fields, including all the fields in base
classes.classDescriptor - ClassMapping instance.MappingExceptionpublic static FieldDescriptor[] getIdFields(ClassDescriptor classDescriptor) throws MappingException
MappingExceptionCopyright © 2016. All rights reserved.