- java.lang.Object
-
- com.appslandia.common.record.Field
-
- All Implemented Interfaces:
Serializable
public class Field extends Object implements Serializable
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldaddConstraint(String name, Object constraintArgs)Map<String,Object>getConstraints()KeyTypegetKeyType()StringgetName()StringgetParamName()intgetSqlType()booleanisAutoKey()booleanisKey()booleanisUpdatable()FieldsetKeyType(KeyType keyType)FieldsetName(String name)FieldsetSqlType(int sqlType)FieldsetUpdatable(boolean updatable)
-
-
-
Constructor Detail
-
Field
public Field()
-
Field
public Field(String name)
-
-
Method Detail
-
isAutoKey
public boolean isAutoKey()
-
isKey
public boolean isKey()
-
getParamName
public String getParamName()
-
getName
public String getName()
-
getSqlType
public int getSqlType()
-
setSqlType
public Field setSqlType(int sqlType)
-
getKeyType
public KeyType getKeyType()
-
isUpdatable
public boolean isUpdatable()
-
setUpdatable
public Field setUpdatable(boolean updatable)
-
-