|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.nominet.catnap.framework.Member
Represents a definition of a field within an entity has simply two fields name - corresponds to the name of the field within the matching java class column - corresponds to the returned column name from the pl/sql call.
Constructor Summary | |
Member(EntityDef parentEntityDef,
java.lang.String fieldName,
java.lang.String column,
boolean pk,
boolean auto,
boolean readOnly)
|
Method Summary | |
java.lang.String |
getColumn()
Return the name of the column within the pl/sql returned result set. |
java.lang.reflect.Field |
getHierarchicalDeclaredField(java.lang.Class clazz,
java.lang.String fieldName)
|
java.lang.String |
getJavaFieldName()
|
java.lang.Class |
getJavaFieldType()
Return the java field type for the member. |
java.lang.Object |
getJavaFieldValue(java.lang.Object source)
Return the value of a particular field for the passed source object. |
Relationship |
getRelationship()
Return a relationship if one exists, otherwise return null. |
boolean |
isAutoField()
Return a boolean indicating whether or not this is an auto pk field. |
boolean |
isPKField()
Return a boolean indicating whether or not this is a pk field. |
boolean |
isReadOnly()
|
void |
setJavaFieldValue(java.lang.Object source,
java.lang.Object newValue)
Set the value of a particular field for the passed source object. |
void |
setRelationship(Relationship relationship)
Set the relationship on this field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Member(EntityDef parentEntityDef, java.lang.String fieldName, java.lang.String column, boolean pk, boolean auto, boolean readOnly)
Method Detail |
public java.lang.String getJavaFieldName()
public java.lang.Class getJavaFieldType()
public java.lang.Object getJavaFieldValue(java.lang.Object source)
source
-
public void setJavaFieldValue(java.lang.Object source, java.lang.Object newValue)
source
- The source to operate onnewValue
- The new valuepublic java.lang.String getColumn()
public boolean isPKField()
public boolean isAutoField()
public boolean isReadOnly()
public Relationship getRelationship()
public void setRelationship(Relationship relationship)
relationship
- public java.lang.reflect.Field getHierarchicalDeclaredField(java.lang.Class clazz, java.lang.String fieldName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |