public class CIMPrimitiveOverride extends CIMObject
| Constructor and Description |
|---|
CIMPrimitiveOverride() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMPrimitiveOverride |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
java.lang.String |
getExpression()
Gets the expression.
|
java.lang.String |
getPrimitiveName()
Gets the primitive name this override applies to.
|
java.lang.String |
getPropertyName()
Gets the property name in the primitive this override applies to.
|
CIMExpressionInfo |
getValueExpressionInfo()
Gets ExpressionInfo that contains the Arcade expression that returns value as a number or a string depending on the PropertyName.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setExpression(java.lang.String expression)
Sets the expression.
|
void |
setPrimitiveName(java.lang.String primitiveName)
Sets the primitive name this override applies to.
|
void |
setPropertyName(java.lang.String propertyName)
Sets the property name in the primitive this override applies to.
|
void |
setValueExpressionInfo(CIMExpressionInfo valueExpressionInfo)
Sets ExpressionInfo that contains the Arcade expression that returns value as a number or a string depending on the PropertyName.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public java.lang.String getPrimitiveName()
public void setPrimitiveName(java.lang.String primitiveName)
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
public CIMExpressionInfo getValueExpressionInfo()
public void setValueExpressionInfo(CIMExpressionInfo valueExpressionInfo)
public static CIMPrimitiveOverride 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)