com.bea.tuxedo.control
Interface IJavaField

All Known Implementing Classes:
JavaFieldSerialize, JavaFieldValidate

public interface IJavaField

Interface representing a single publicly accessible field in a class. The field may be accessed via a JavaBean style setter/getter or directly via the field itself.


Method Summary
 String getName()
          Get the name of the field.
 Object getType()
          Get the type of the field, as a Java class.
 Object getValue(Object object)
          Get the value of the field.
 void setValue(Object object, Object value)
          Set the value of the field.
 

Method Detail

getName

String getName()
Get the name of the field.

Returns:
A string representing the field name. If the field is represented by a setter or getter, this is the name stripped of the set, get, or is prefix, and with the first letter of the remaining string converted to lower case.

getType

Object getType()
Get the type of the field, as a Java class.

Returns:
A type object. Could be a Class for the run-time code or an internal compiler type for the compile-time code.

setValue

void setValue(Object object,
              Object value)
              throws ControlException
Set the value of the field.

Parameters:
object - The class object for the defining class.
value - The value to set.
Throws:
ControlException

getValue

Object getValue(Object object)
                throws ControlException
Get the value of the field.

Parameters:
object - The class object for the defining class.
Returns:
The value of the field.
Throws:
ControlException