com.stimulsoft.report.components
Class StiParameter

java.lang.Object
  extended by com.stimulsoft.report.components.StiParameter
All Implemented Interfaces:
IStiDefault, IStiJsonReportObject, IStiSerializable, IStiSerializableRef

public class StiParameter
extends java.lang.Object
implements IStiDefault, IStiJsonReportObject, IStiSerializable, IStiSerializableRef

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiParameter()
           
StiParameter(java.lang.String name, StiExpression expression)
           
 
Method Summary
 void cleanReference()
           
 StiExpression getExpression()
          expression to fill parameter.
 java.lang.String getName()
          name of parameter.
 int getReference()
           
 boolean isDefault()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setExpression(StiExpression expression)
          expression to fill parameter.
 void setName(java.lang.String name)
          name of parameter.
 void setReference(int reference)
          Установить значение ссылки.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiParameter

public StiParameter()

StiParameter

public StiParameter(java.lang.String name,
                    StiExpression expression)
Method Detail

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

isDefault

public boolean isDefault()
Specified by:
isDefault in interface IStiDefault

getName

public java.lang.String getName()
name of parameter.

Returns:
the name

setName

public void setName(java.lang.String name)
name of parameter.

Parameters:
name - the name to set

getExpression

public StiExpression getExpression()
expression to fill parameter.

Returns:
the expression

setExpression

public void setExpression(StiExpression expression)
expression to fill parameter.

Parameters:
expression - the expression to set

setReference

public void setReference(int reference)
Description copied from interface: IStiSerializableRef
Установить значение ссылки.

Specified by:
setReference in interface IStiSerializableRef
Parameters:
reference - значение ссылки

getReference

public int getReference()
Specified by:
getReference in interface IStiSerializableRef
Returns:
значение ссылки.

cleanReference

public void cleanReference()