public class ClassDescriptorHelper
extends java.lang.Object
Constructor | Description |
---|---|
ClassDescriptorHelper() |
Modifier and Type | Method | Description |
---|---|---|
static FieldDescriptor[] |
getFullFields(ClassDescriptor classDescriptor) |
Get all the
FieldDescriptor s 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
FieldDescriptor
s for non-identity fields, including
all the fields in base classes.classDescriptor
- ClassMapping instance.MappingException
public static FieldDescriptor[] getIdFields(ClassDescriptor classDescriptor) throws MappingException
MappingException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com