public class AttributeDefinition extends Object
| Constructor and Description |
|---|
AttributeDefinition()
Constructs a new AttributeDefinition object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public AttributeDefinition()
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()
Copyright © 2024. All rights reserved.