|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to a metadata service.
Inner Class Summary | |
static class |
MetaDataSrvIf.Util
|
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
java.lang.reflect.Constructor |
findConstructor(java.lang.Class theClass,
java.lang.Class[] parameterTypes)
Finds a specific constructor of a class. |
java.lang.reflect.Method |
findGetter(java.lang.Class classObj,
java.lang.String property)
Finds the getter of a specific property in an object. |
java.lang.reflect.Method |
findIndexedGetter(java.lang.Class classObj,
java.lang.String property)
Finds the getter of a specific indexed property in an object. |
java.lang.reflect.Method |
findIndexedSetter(java.lang.Class classObj,
java.lang.String property)
Finds the setter of a specific indexed property without knowing its type. |
java.lang.reflect.Method |
findIndexedSetter(java.lang.Class classObj,
java.lang.String property,
java.lang.Class type)
Finds the setter of a specific indexed property in an object. |
java.lang.String[] |
findListOfActions(java.lang.Class targetClass,
boolean flat)
Finds the list of actions available in a specific class. |
java.lang.String[] |
findListOfProperties(java.lang.Class targetClass,
boolean flat)
Finds the list of properties available in a specific class. |
java.lang.reflect.Method |
findMethod(java.lang.Class classObj,
java.lang.String name)
Finds a specific method of an object without knowing the parameter types. |
java.lang.reflect.Method |
findMethod(java.lang.Class classObj,
java.lang.String name,
java.lang.Class[] parameterTypes)
Finds a specific method of an object using the method name. |
java.lang.reflect.Method |
findPerform(java.lang.Class classObj,
java.lang.String name,
java.lang.Class[] parametersTypes)
Finds a specific perform method from the method name. |
java.lang.reflect.Method |
findSetter(java.lang.Class classObj,
java.lang.String property)
Finds the setter of a specific property without knowing its type. |
java.lang.reflect.Method |
findSetter(java.lang.Class classObj,
java.lang.String property,
java.lang.Class type)
Finds the setter of a specific property in an object. |
Method Detail |
public java.lang.String[] findListOfProperties(java.lang.Class targetClass, boolean flat)
public java.lang.String[] findListOfActions(java.lang.Class targetClass, boolean flat)
public java.lang.reflect.Method findGetter(java.lang.Class classObj, java.lang.String property)
object
- Object for which a getter is requested.property
- Property to look for in the object.public java.lang.reflect.Method findIndexedGetter(java.lang.Class classObj, java.lang.String property)
object
- Object for which a getter is requested.property
- Property to look for in the object.public java.lang.reflect.Method findSetter(java.lang.Class classObj, java.lang.String property, java.lang.Class type)
object
- Object for which a setter is requested.property
- Property to look for in the object.type
- Type of the property.public java.lang.reflect.Method findSetter(java.lang.Class classObj, java.lang.String property)
object
- Object for which a setter is requested.property
- Property to look for in the object.public java.lang.reflect.Method findIndexedSetter(java.lang.Class classObj, java.lang.String property, java.lang.Class type)
object
- Object for which a setter is requested.property
- Property to look for in the object.type
- Type of the property.public java.lang.reflect.Method findIndexedSetter(java.lang.Class classObj, java.lang.String property)
object
- Object for which a setter is requested.property
- Property to look for in the object.public java.lang.reflect.Method findMethod(java.lang.Class classObj, java.lang.String name, java.lang.Class[] parameterTypes)
object
- Object for which the method is requested.name
- Name of the method to be retrieved.parameterTypes
- Method formal parameter types.public java.lang.reflect.Method findMethod(java.lang.Class classObj, java.lang.String name)
object
- Object for which the method is requested.name
- Name of the method to be retrieved.public java.lang.reflect.Constructor findConstructor(java.lang.Class theClass, java.lang.Class[] parameterTypes)
name
- Name of the method to be retrieved.parameterTypes
- Method formal parameter types.public java.lang.reflect.Method findPerform(java.lang.Class classObj, java.lang.String name, java.lang.Class[] parametersTypes)
object
- Object for which the method is requested.name
- Name of the method to be retrieved.parameterType
- Method formal parameter type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |