public class CIMSymbolIdentifier extends CIMObject
| Constructor and Description |
|---|
CIMSymbolIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSymbolIdentifier |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
int |
getID()
Gets the ID which identifies the symbol in the collection.
|
java.lang.String |
getName()
Gets the name of the symbol in the symbol collection.
|
CIMSymbol |
getSymbol()
Gets the symbol.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setID(int iD)
Sets the ID which identifies the symbol in the collection.
|
void |
setName(java.lang.String name)
Sets the name of the symbol in the symbol collection.
|
void |
setSymbol(CIMSymbol symbol)
Sets the symbol.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public int getID()
public void setID(int iD)
public java.lang.String getName()
public void setName(java.lang.String name)
public CIMSymbol getSymbol()
public void setSymbol(CIMSymbol symbol)
public static CIMSymbolIdentifier 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)