Class BeanField
java.lang.Object
ch.autumo.beetroot.utils.bean.BeanField
Bean field.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger.
-
-
Constructor Details
-
BeanField
public BeanField(String dbName, String beanName, Class<?> type, boolean isNullable, boolean unique, Method getterMethod, Method setterMethod) Constructor.- Parameters:
dbName- column namebeanName- attribute nametype- Java typeisNullable- is nullable?unique- is unique?getterMethod- getter methodsetterMethod- setter method
-
-
Method Details
-
getGetterMethod
-
getSetterMethod
-
getDbName
-
getBeanName
-
getType
-
isUnique
public boolean isUnique()Is unique?- Returns:
- true if unique
-
isNullable
public boolean isNullable()Is nullable?- Returns:
- true if nullable
-
toString
-
serialize
-