public class CIMCGAAttribute extends CIMObject
| Constructor and Description |
|---|
CIMCGAAttribute() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMCGAAttribute |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
int |
getArrayRowCount()
Gets the count of rows in the array.
|
CGAAttributeType |
getCGAAttributeType()
Gets the CGA attribute type.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.Object |
getValue()
Gets the value.
|
java.lang.Object[] |
getValues()
Gets the values in the array.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setArrayRowCount(int arrayRowCount)
Sets the count of rows in the array.
|
void |
setCGAAttributeType(CGAAttributeType cGAAttributeType)
Sets the CGA attribute type.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setValue(java.lang.Object value)
Sets the value.
|
void |
setValues(java.lang.Object[] values)
Sets the values in the array.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public java.lang.String getName()
public void setName(java.lang.String name)
public CGAAttributeType getCGAAttributeType()
public void setCGAAttributeType(CGAAttributeType cGAAttributeType)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public java.lang.Object[] getValues()
public void setValues(java.lang.Object[] values)
public int getArrayRowCount()
public void setArrayRowCount(int arrayRowCount)
public static CIMCGAAttribute fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)