|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ejb.FieldDesc
public class FieldDesc
Class to hold meta-information related to a cmp-field
Field Summary | |
---|---|
protected String |
fieldName
|
protected Class |
fieldType
|
protected boolean |
pkField
|
Constructor Summary | |
---|---|
FieldDesc()
|
Method Summary | |
---|---|
Class |
getFieldType()
field type getter |
static String |
getGetterName(String fieldName)
get the getter method name for a given field |
String |
getName()
Field name getter |
static String |
getSetterName(String fieldName)
get the setter method name for a given field |
boolean |
isPrimaryKey()
Assessor method for primary key field |
protected void |
setFieldType(Class fieldType)
field type setter |
protected void |
setName(String fieldName)
field name setter |
protected void |
setPrimaryKey(boolean pkField)
primary key flag setter |
String |
toString()
String representation of the object for test purpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String fieldName
protected boolean pkField
protected Class fieldType
Constructor Detail |
---|
public FieldDesc()
Method Detail |
---|
public boolean isPrimaryKey()
public String getName()
protected void setName(String fieldName)
protected void setPrimaryKey(boolean pkField)
public Class getFieldType()
protected void setFieldType(Class fieldType)
public static String getSetterName(String fieldName)
public static String getGetterName(String fieldName)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |