public class FieldInfo extends AbstractModel
Constructor and Description |
---|
FieldInfo() |
FieldInfo(FieldInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Get Table field name
|
Long |
getFieldSize()
Get Field length
|
String |
getFieldType()
Get Field type
|
String |
getIsPrimaryKey()
Get Whether it is a primary key field
|
void |
setFieldName(String FieldName)
Set Table field name
|
void |
setFieldSize(Long FieldSize)
Set Field length
|
void |
setFieldType(String FieldType)
Set Field type
|
void |
setIsPrimaryKey(String IsPrimaryKey)
Set Whether it is a primary key field
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public FieldInfo()
public FieldInfo(FieldInfo source)
public String getFieldName()
public void setFieldName(String FieldName)
FieldName
- Table field namepublic String getIsPrimaryKey()
public void setIsPrimaryKey(String IsPrimaryKey)
IsPrimaryKey
- Whether it is a primary key fieldpublic String getFieldType()
public void setFieldType(String FieldType)
FieldType
- Field typepublic Long getFieldSize()
public void setFieldSize(Long FieldSize)
FieldSize
- Field lengthCopyright © 2023. All rights reserved.