|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcon.data.IntrospectionProfile
public class IntrospectionProfile
This is a class which builds and holds various items of interest for introspectors. It is used e.g. by IntrospectionLib to obtain and cache information about classes.
| Constructor Summary | |
|---|---|
IntrospectionProfile(java.lang.Class classy)
|
|
| Method Summary | |
|---|---|
java.util.Map |
getAllPropertyValues(java.lang.Object bean)
Property values for all readable properties. |
java.util.ArrayList |
getEditableFields()
|
java.util.Map |
getFieldDefs()
|
java.lang.Class |
getProfiledClass()
|
java.util.Map |
getPropertyDescriptors()
|
java.lang.Object |
getPropertyValue(java.lang.Object bean,
java.lang.String propertyName)
Gets the value of the named property from the given object. |
java.util.Map |
getPropertyValues(java.lang.Object bean)
Values for all editable properties. |
void |
setPropertyValue(java.lang.Object bean,
java.lang.String propertyName,
java.lang.Object value)
Sets the named property on the given bean. |
void |
setPropertyValues(java.lang.Object bean,
java.util.Map newProperties)
Sets property values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntrospectionProfile(java.lang.Class classy)
| Method Detail |
|---|
public final java.lang.Object getPropertyValue(java.lang.Object bean,
java.lang.String propertyName)
public final void setPropertyValue(java.lang.Object bean,
java.lang.String propertyName,
java.lang.Object value)
public final java.util.Map getPropertyValues(java.lang.Object bean)
public final java.util.Map getAllPropertyValues(java.lang.Object bean)
public final void setPropertyValues(java.lang.Object bean,
java.util.Map newProperties)
Invalid properties are ignored.
newProperties - A dictionary of propertynames associated with their values.public final java.lang.Class getProfiledClass()
public final java.util.Map getPropertyDescriptors()
public final java.util.Map getFieldDefs()
public final java.util.ArrayList getEditableFields()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||