public class CIMSymbolReference extends CIMObject
| Constructor and Description |
|---|
CIMSymbolReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSymbolReference |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getMaxDistance()
Gets the maximum distance at which symbols are visible.
|
double |
getMaxScale()
Gets the maximum scale range the symbol reference should be displayed at.
|
double |
getMinDistance()
Gets the minimum distance at which symbols are visible.
|
double |
getMinScale()
Gets the minimum scale range the symbol reference should be displayed at.
|
CIMPrimitiveOverride[] |
getPrimitiveOverrides()
Gets the primitive overrides.
|
CIMScaleDependentSizeVariation[] |
getScaleDependentSizeVariation()
Gets an array of scale dependent sizes.
|
java.lang.String |
getStylePath()
Gets the style path.
|
CIMSymbol |
getSymbol()
Gets the symbol.
|
java.lang.String |
getSymbolName()
Gets the symbol name.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setMaxDistance(double maxDistance)
Sets the maximum distance at which symbols are visible.
|
void |
setMaxScale(double maxScale)
Sets the maximum scale range the symbol reference should be displayed at.
|
void |
setMinDistance(double minDistance)
Sets the minimum distance at which symbols are visible.
|
void |
setMinScale(double minScale)
Sets the minimum scale range the symbol reference should be displayed at.
|
void |
setPrimitiveOverrides(CIMPrimitiveOverride[] primitiveOverrides)
Sets the primitive overrides.
|
void |
setScaleDependentSizeVariation(CIMScaleDependentSizeVariation[] scaleDependentSizeVariation)
Sets an array of scale dependent sizes.
|
void |
setStylePath(java.lang.String stylePath)
Sets the style path.
|
void |
setSymbol(CIMSymbol symbol)
Sets the symbol.
|
void |
setSymbolName(java.lang.String symbolName)
Sets the symbol name.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public CIMPrimitiveOverride[] getPrimitiveOverrides()
public void setPrimitiveOverrides(CIMPrimitiveOverride[] primitiveOverrides)
public java.lang.String getStylePath()
public void setStylePath(java.lang.String stylePath)
public CIMSymbol getSymbol()
public void setSymbol(CIMSymbol symbol)
public java.lang.String getSymbolName()
public void setSymbolName(java.lang.String symbolName)
public double getMinScale()
public void setMinScale(double minScale)
public double getMaxScale()
public void setMaxScale(double maxScale)
public CIMScaleDependentSizeVariation[] getScaleDependentSizeVariation()
public void setScaleDependentSizeVariation(CIMScaleDependentSizeVariation[] scaleDependentSizeVariation)
public double getMinDistance()
public void setMinDistance(double minDistance)
public double getMaxDistance()
public void setMaxDistance(double maxDistance)
public static CIMSymbolReference 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)