SRJRCFrames
v0.1.296

de.schwarzrot.data.access.support
Class PropertyInfo

java.lang.Object
  extended by 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

Constructor Summary
PropertyInfo()
           
 
Method Summary
 String getName()
           
 int getPhysDecimals()
           
 String getPhysName()
           
 int getPhysSize()
           
 int getPhysType()
           
 Method getReadMethod()
           
 Class<?> getType()
           
 Method getWriteMethod()
           
 boolean isPersistent()
           
 void setName(String name)
           
 void setPersistent(boolean persistent)
           
 void setPhysDecimals(int physDecimals)
           
 void setPhysName(String physName)
           
 void setPhysSize(int physSize)
           
 void setPhysType(int physType)
           
 void setReadMethod(Method readMethod)
           
 void setType(Class<?> type)
           
 void setWriteMethod(Method writeMethod)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyInfo

public PropertyInfo()
Method Detail

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

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.