public class CIMScaleDependentSizeVariation extends CIMObject
| Constructor and Description |
|---|
CIMScaleDependentSizeVariation() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMScaleDependentSizeVariation |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getScale()
Gets the scale the size is associated with.
|
double |
getSize()
Gets the size for the associated scale.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setScale(double scale)
Sets the scale the size is associated with.
|
void |
setSize(double size)
Sets the size for the associated scale.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public double getScale()
public void setScale(double scale)
public double getSize()
public void setSize(double size)
public static CIMScaleDependentSizeVariation 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)