Package net.jextra.fauxjo.beandef
Class FieldDef
- java.lang.Object
-
- net.jextra.fauxjo.beandef.FieldDef
-
public class FieldDef extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldgetField()MethodgetReadMethod()Class<?>getValueClass()MethodgetWriteMethod()booleanisDefaultable()booleanisPrimaryKey()voidsetDefaultable(boolean defaultable)voidsetField(Field field)voidsetPrimaryKey(boolean primaryKey)voidsetReadMethod(Method readMethod)voidsetWriteMethod(Method writeMethod)
-
-
-
Method Detail
-
getField
public Field getField()
-
setField
public void setField(Field field) throws FauxjoException
- Throws:
FauxjoException
-
getWriteMethod
public Method getWriteMethod()
-
setWriteMethod
public void setWriteMethod(Method writeMethod) throws FauxjoException
- Throws:
FauxjoException
-
getReadMethod
public Method getReadMethod()
-
setReadMethod
public void setReadMethod(Method readMethod) throws FauxjoException
- Throws:
FauxjoException
-
isPrimaryKey
public boolean isPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(boolean primaryKey)
-
getValueClass
public Class<?> getValueClass()
-
isDefaultable
public boolean isDefaultable()
-
setDefaultable
public void setDefaultable(boolean defaultable)
-
-