com.jscape.util.reflection
Class ObjectProperty
java.lang.Object
com.jscape.util.reflection.ObjectProperty
- All Implemented Interfaces:
- java.lang.Comparable
public class ObjectProperty
- extends java.lang.Object
- implements java.lang.Comparable
- Author:
- Alex
- See Also:
- Source code
Constructor Summary |
ObjectProperty(java.lang.String name,
java.lang.Class propertyType)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ObjectProperty
public ObjectProperty(java.lang.String name,
java.lang.Class propertyType)
getReadableProperties
public static ObjectProperty[] getReadableProperties(java.lang.Class targetClass,
java.lang.Class propertyType)
getWritableProperties
public static ObjectProperty[] getWritableProperties(java.lang.Class targetClass,
java.lang.Class propertyType)
getWritableProperties
public static ObjectProperty[] getWritableProperties(java.lang.Class targetClass)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getName
public java.lang.String getName()
getPropertyType
public java.lang.Class getPropertyType()
applySet
public void applySet(java.lang.Object obj,
java.lang.Object value)
throws PropertyException
- Throws:
PropertyException
applyGet
public java.lang.Object applyGet(java.lang.Object obj)
throws PropertyException
- Throws:
PropertyException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved