com.stimulsoft.report.dictionary
Class StiDataParameter

java.lang.Object
  extended by com.stimulsoft.report.expressions.StiExpression
      extended by com.stimulsoft.report.dictionary.StiDataParameter
All Implemented Interfaces:
IStiDefault, IStiJsonReportObject, IStiSerializable, IStiSerializableToString, IStiName, IStiInherited, java.lang.Cloneable

public class StiDataParameter
extends StiExpression
implements IStiName, IStiInherited


Field Summary
 
Fields inherited from class com.stimulsoft.report.expressions.StiExpression
ParentComponent
 
Constructor Summary
StiDataParameter()
          Creates a new object of the type StiDataParameter.
StiDataParameter(java.lang.String name, int type, int size)
          Creates a new object of the type StiDataParameter.
StiDataParameter(java.lang.String name, java.lang.String value, int type, int size)
          Creates a new object of the type StiDataParameter.
 
Method Summary
 void deserialize(java.lang.String strObject)
          Десериализация объекта из строки.
 boolean getApplyFormat()
           
 StiDataSource getDataSource()
          Gets or sets the Data Source in what the parameter is described.
 java.lang.String getExpression()
           
 boolean getInherited()
           
 java.lang.String getName()
          Gets or sets a parameter name.
 java.lang.Object getParameterValue()
           
 java.lang.Object GetParameterValue()
           
 java.lang.Object getParameterValueByDatabace()
           
 int getSize()
          Gets or sets size of parameter.
 int getType()
          Gets or sets type of parameter.
 java.lang.String getValue()
          Gets or sets value of the expression.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 java.lang.String serialize()
          Сериализация объекта в строку.
 void setDataSource(StiDataSource value)
           
 void setExpression(java.lang.String value)
           
 void setInherited(boolean value)
           
 void setName(java.lang.String value)
           
 void setParameterValue(java.lang.Object value)
           
 void setSize(int value)
           
 void setType(int value)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.report.expressions.StiExpression
clone, deserializeStr, getDefaultEvent, getFullConvert, getGenAddEvent, isDefault
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiDataParameter

public StiDataParameter()
Creates a new object of the type StiDataParameter.


StiDataParameter

public StiDataParameter(java.lang.String name,
                        int type,
                        int size)
Creates a new object of the type StiDataParameter.


StiDataParameter

public StiDataParameter(java.lang.String name,
                        java.lang.String value,
                        int type,
                        int size)
Creates a new object of the type StiDataParameter.

Method Detail

getInherited

public final boolean getInherited()
Specified by:
getInherited in interface IStiInherited

setInherited

public final void setInherited(boolean value)
Specified by:
setInherited in interface IStiInherited

getName

public final java.lang.String getName()
Gets or sets a parameter name.

Specified by:
getName in interface IStiName

setName

public final void setName(java.lang.String value)
Specified by:
setName in interface IStiName

getApplyFormat

public boolean getApplyFormat()
Overrides:
getApplyFormat in class StiExpression

getValue

public java.lang.String getValue()
Description copied from class: StiExpression
Gets or sets value of the expression.

Overrides:
getValue in class StiExpression

setValue

public void setValue(java.lang.String value)
Overrides:
setValue in class StiExpression

getExpression

public final java.lang.String getExpression()

setExpression

public final void setExpression(java.lang.String value)

GetParameterValue

public final java.lang.Object GetParameterValue()

getParameterValueByDatabace

public final java.lang.Object getParameterValueByDatabace()

getParameterValue

public final java.lang.Object getParameterValue()

setParameterValue

public final void setParameterValue(java.lang.Object value)

getDataSource

public final StiDataSource getDataSource()
Gets or sets the Data Source in what the parameter is described.


setDataSource

public final void setDataSource(StiDataSource value)

getType

public int getType()
Gets or sets type of parameter.


setType

public void setType(int value)

getSize

public int getSize()
Gets or sets size of parameter.


setSize

public void setSize(int value)

toString

public java.lang.String toString()
Overrides:
toString in class StiExpression

serialize

public java.lang.String serialize()
Description copied from interface: IStiSerializableToString
Сериализация объекта в строку.

Specified by:
serialize in interface IStiSerializableToString
Overrides:
serialize in class StiExpression
Returns:
строковое представление объекта

deserialize

public void deserialize(java.lang.String strObject)
Description copied from interface: IStiSerializableToString
Десериализация объекта из строки. Все свойства объекта устанавливаются за счет распарсивания строки.

Specified by:
deserialize in interface IStiSerializableToString
Overrides:
deserialize in class StiExpression

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiExpression
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiExpression
Throws:
JSONException