|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.moladb.model.AttributeDefinition
public class AttributeDefinition
Represents an attribute with name and value type for a table.
| Constructor Summary | |
|---|---|
AttributeDefinition()
Constructs a new AttributeDefinition object. |
|
| Method Summary | |
|---|---|
String |
getAttributeName()
The method get the attribute name of a new attribute. |
String |
getAttributeType()
The method get the attribute value type of a new attribute. |
void |
setAttributeName(String name)
The method set the attribute name for a new attribute. |
void |
setAttributeType(String type)
The method set the attribute value type for a new attribute. |
protected Object |
toJsonObj()
|
AttributeDefinition |
withAttributeName(String name)
The method set the attribute name for a new attribute. |
AttributeDefinition |
withAttributeType(String type)
The method set the attribute value type for a new attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeDefinition()
| Method Detail |
|---|
public void setAttributeName(String name)
name - The name of the attribute.public AttributeDefinition withAttributeName(String name)
name - The name of the attribute.public String getAttributeName()
public void setAttributeType(String type)
type - The value type of the attribute, the value is "N","S", or "B".public AttributeDefinition withAttributeType(String type)
type - The value type of the attribute, the value is "N","S", or "B".public String getAttributeType()
protected Object toJsonObj()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||