|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.cortex.Property
public class Property
This represents a single property of a particular class.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
Property(java.lang.Class pBeanClass,
java.lang.String pPropertyName)
Constructs a new Property |
Method Summary | |
---|---|
java.lang.Class |
getBeanClass()
Returns the class of the bean whose property is mapped to the specified column. |
java.beans.PropertyDescriptor |
getPropertyDescriptor()
Returns the PropertyDescriptor corresponding to the property |
java.lang.String |
getPropertyName()
Returns the name of the property to which this column descriptor corresponds. |
java.lang.Class |
getPropertyType()
Returns the type of the property |
boolean |
isPrimitive()
Returns true if the type of the property is a primitive |
java.lang.Object |
readPropertyValue(java.lang.Object pObject)
Reads and returns the value of the property from the given object. |
void |
writePropertyValue(java.lang.Object pObject,
java.lang.Object pValue)
Writes the value of the property of the given object with the specified value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public Property(java.lang.Class pBeanClass, java.lang.String pPropertyName)
pBeanClass
- the class of the bean containing the property
to which the column correspondspPropertyName
- the name of the property to which this
column correspondsMethod Detail |
---|
public java.beans.PropertyDescriptor getPropertyDescriptor() throws java.beans.IntrospectionException
java.beans.IntrospectionException
public java.lang.Class getPropertyType() throws java.beans.IntrospectionException
java.beans.IntrospectionException
public boolean isPrimitive()
public java.lang.Object readPropertyValue(java.lang.Object pObject) throws java.sql.SQLException
java.sql.SQLException
public void writePropertyValue(java.lang.Object pObject, java.lang.Object pValue) throws java.sql.SQLException
java.sql.SQLException
public java.lang.Class getBeanClass()
public java.lang.String getPropertyName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |