com.stimulsoft.base
Class StiAppExpression
java.lang.Object
com.stimulsoft.base.StiAppExpression
- All Implemented Interfaces:
- IStiJsonReportObject, IStiSerializable, IStiSerializableToString
public class StiAppExpression
- extends java.lang.Object
- implements IStiJsonReportObject, IStiSerializable, IStiSerializableToString
Copyright Stimulsoft
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiAppExpression
public StiAppExpression(java.lang.String name,
java.lang.String expression)
StiAppExpression
public StiAppExpression()
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getExpression
public java.lang.String getExpression()
- Returns:
- the expression
setExpression
public void setExpression(java.lang.String expression)
- Parameters:
expression
- the expression to set
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Specified by:
SaveToJsonObject
in interface IStiJsonReportObject
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject
in interface IStiJsonReportObject
- Throws:
JSONException
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
isEmpty
public boolean isEmpty()
serialize
public java.lang.String serialize()
- Description copied from interface:
IStiSerializableToString
- Сериализация объекта в строку.
- Specified by:
serialize
in interface IStiSerializableToString
- Returns:
- строковое представление объекта
deserialize
public void deserialize(java.lang.String strObject)
- Description copied from interface:
IStiSerializableToString
- Десериализация объекта из строки. Все свойства объекта устанавливаются за счет распарсивания
строки.
- Specified by:
deserialize
in interface IStiSerializableToString