Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » jaws » metadata » [javadoc | source]
org.jboss.ejb.plugins.jaws.metadata
public class: ValueObjectHelper [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.jaws.metadata.ValueObjectHelper
Provide static method to obtain a private attribute of a value object using its get method, and to set the value of a private attribute using its set method.

WARNING : These methods use Reflection so OK to run them at deployment time but at run time, we should better catch the Method get/set at CMPFieldMetaData level. So that the only invoke() method will be called at run time. This still needs to be done.

Method from org.jboss.ejb.plugins.jaws.metadata.ValueObjectHelper Summary:
getNestedFieldType,   getValue,   setValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.jaws.metadata.ValueObjectHelper Detail:
 public static Class getNestedFieldType(Class ejbClass,
    String name) throws NoSuchMethodException 
 public static Object getValue(Object o,
    String fieldName) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException 
 public static  void setValue(Object o,
    String fieldName,
    Object value) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException