|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- -
the type of the inspected classpublic interface Introspector<T>
This interface represents different introspectors like EntityBeanIntrospector.
Method Summary | |
---|---|
java.lang.Object |
getField(T instance,
Property toGet)
Returns a value of an field. |
java.util.List<Property> |
getPersitentProperties()
Returns the persistent fields. |
java.util.Set<Property> |
getPkFields()
Return the primary key fields. |
PersistentPropertyInfo |
getPresistentFieldInfo(Property toCheck)
This method returns informations about a peristent field. |
PrimaryKeyInfo |
getPrimaryKeyInfo(Property toCheck)
This method returns informations about a primary key field. |
void |
setField(T instance,
Property toSet,
java.lang.Object value)
Sets a value of an field. |
Method Detail |
---|
PersistentPropertyInfo getPresistentFieldInfo(Property toCheck)
toCheck
- -
the field to check
PrimaryKeyInfo getPrimaryKeyInfo(Property toCheck)
toCheck
- -
the field to check
java.util.List<Property> getPersitentProperties()
java.util.Set<Property> getPkFields()
java.lang.Object getField(T instance, Property toGet) throws java.lang.IllegalAccessException
instance
- -
the instancetoGet
- -
the field to read the value
java.lang.IllegalAccessException
- -
in error casevoid setField(T instance, Property toSet, java.lang.Object value) throws java.lang.IllegalAccessException
instance
- -
the instancetoSet
- -
the field to set the valuevalue
- -
the new value
java.lang.IllegalAccessException
- -
in error case
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |