com.stimulsoft.base
Class StiAppExpression

java.lang.Object
  extended by com.stimulsoft.base.StiAppExpression
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableToString

public class StiAppExpression
extends java.lang.Object
implements IStiJsonReportObject, IStiSerializable, IStiSerializableToString

Copyright Stimulsoft


Constructor Summary
StiAppExpression()
           
StiAppExpression(java.lang.String name, java.lang.String expression)
           
 
Method Summary
 java.lang.Object clone()
           
 void deserialize(java.lang.String strObject)
          Десериализация объекта из строки.
 java.lang.String getExpression()
           
 java.lang.String getName()
           
 boolean isEmpty()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 java.lang.String serialize()
          Сериализация объекта в строку.
 void setExpression(java.lang.String expression)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiAppExpression

public StiAppExpression(java.lang.String name,
                        java.lang.String expression)

StiAppExpression

public StiAppExpression()
Method Detail

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