public class Field extends Object implements Serializable
| 构造器和说明 |
|---|
Field()
Instantiates a new Field.
|
Field(String name,
int type,
Object value)
Instantiates a new Field.
|
| 限定符和类型 | 方法和说明 |
|---|---|
KeyType |
getKeyType()
Gets key type.
|
String |
getName()
Gets name.
|
int |
getType()
Gets type.
|
Object |
getValue()
Gets value.
|
boolean |
isKey(String pkname)
Is key boolean.
|
void |
setKeyType(KeyType keyType)
Sets key type.
|
void |
setName(String attrName)
Sets name.
|
void |
setType(int attrType)
Sets type.
|
void |
setValue(Object value)
Sets value.
|
String |
toString() |
public String getName()
public void setName(String attrName)
attrName - the attr namepublic KeyType getKeyType()
public void setKeyType(KeyType keyType)
keyType - the key typepublic int getType()
public void setType(int attrType)
attrType - the attr typepublic Object getValue()
public void setValue(Object value)
value - the valuepublic boolean isKey(String pkname)
pkname - the pknameCopyright © 2022 Seata. All rights reserved.