com.bea.tuxedo.control
Class JavaClassSerialize
java.lang.Object
com.bea.tuxedo.control.JavaClassSerialize
- All Implemented Interfaces:
- IJavaClass
public class JavaClassSerialize
- extends Object
- implements IJavaClass
Get a list of publicly asscessible fields in a class. The fields may represent
regular data fields or JavaBean style getters and setters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaClassSerialize
public JavaClassSerialize(Class myClass,
TuxedoControl.AccessorName conv)
- Constructor.
- Parameters:
myClass
- The object representing the class.conv
- Conventions used for accessor name translation
getFields
public IJavaField[] getFields()
- Get the field descriptors for the represented class.
- Specified by:
getFields
in interface IJavaClass
- Returns:
- An array of field descriptors. Fields are ordered so
that we get fields from least derived superclasses to most derived.
Within that ordering, fields are further ordered so
that we first get fields with primitive type sorted alphabetically by
field name and then fields with non-primitive type sorted alphabetically
by field name.