de.schwarzrot.data.access.support
Class PropertyInfo
java.lang.Object
de.schwarzrot.data.access.support.PropertyInfo
public class PropertyInfo
- extends Object
is just a bean that holds information about a beans property.
As bean introspection does not return the right result for code, that heavily
uses generics and that relies on generic types. So I had to write my own
introspection, which fills this PropertyInfo
.
PropertyInfo
is used like PropertyDescriptor, but extends the info
respect to persistence.
- Author:
- Reinhard Mantey
- See Also:
EntityDescriptor
PropertyInfo
public PropertyInfo()
getName
public final String getName()
getPhysDecimals
public final int getPhysDecimals()
getPhysName
public final String getPhysName()
getPhysSize
public final int getPhysSize()
getPhysType
public final int getPhysType()
getReadMethod
public final Method getReadMethod()
getType
public final Class<?> getType()
getWriteMethod
public final Method getWriteMethod()
isPersistent
public final boolean isPersistent()
setName
public final void setName(String name)
setPersistent
public final void setPersistent(boolean persistent)
setPhysDecimals
public final void setPhysDecimals(int physDecimals)
setPhysName
public final void setPhysName(String physName)
setPhysSize
public final void setPhysSize(int physSize)
setPhysType
public final void setPhysType(int physType)
setReadMethod
public final void setReadMethod(Method readMethod)
setType
public final void setType(Class<?> type)
setWriteMethod
public final void setWriteMethod(Method writeMethod)
toString
public String toString()
- Overrides:
toString
in class Object
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.