public class StiBooleanFormatService extends StiFormatService
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiBooleanFormatService()
Creates a new format of the type StiBooleanFormatService.
|
StiBooleanFormatService(java.lang.String falseValue,
java.lang.String trueValue,
java.lang.String falseDisplay,
java.lang.String trueDisplay,
java.lang.String nullDisplay)
Creates a new format of the type StiBooleanFormatService with specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
format(java.lang.String stringFormat,
java.lang.Object arg)
Formats the specified object on specified rule and returns the line.
|
java.lang.String |
getFalseDisplay()
Gets or sets the string value to show the value false.
|
java.lang.String |
getFalseValue()
Gets or sets the string value for identification the value false.
|
java.lang.String |
getNullDisplay()
Gets or sets the string value to show the value null.
|
int |
getPosition() |
java.lang.Object |
getSample()
Gets value to show a sample of formatting.
|
java.lang.String |
getServiceName()
Gets a service name.
|
java.lang.String |
getTrueDisplay()
Gets or sets the string value to show the value true.
|
java.lang.String |
getTrueValue()
Gets or sets string value for identification the value true.
|
int |
hashCode() |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setFalseDisplay(java.lang.String value) |
void |
setFalseValue(java.lang.String value) |
void |
setNullDisplay(java.lang.String value) |
void |
setTrueDisplay(java.lang.String value) |
void |
setTrueValue(java.lang.String value) |
Format, getIsFormatStringFromVariable, getNativeFormatString, getServiceCategory, getServiceType, getState, getStringFormat, isDefault, LoadFromJsonObjectInternal, setState, setStringFormat, toStringclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic StiBooleanFormatService()
public StiBooleanFormatService(java.lang.String falseValue,
java.lang.String trueValue,
java.lang.String falseDisplay,
java.lang.String trueDisplay,
java.lang.String nullDisplay)
falseValue - String value to define the value false.trueValue - String value to define the value true.falseDisplay - String value to show the value false.trueDisplay - String value to show the value true.nullDisplay - String value to show the value null.public java.lang.String getServiceName()
getServiceName in class StiServicepublic int getPosition()
getPosition in class StiFormatServicepublic final java.lang.String getFalseValue()
public final void setFalseValue(java.lang.String value)
public final java.lang.String getTrueValue()
public final void setTrueValue(java.lang.String value)
public final java.lang.String getFalseDisplay()
public final void setFalseDisplay(java.lang.String value)
public final java.lang.String getTrueDisplay()
public final void setTrueDisplay(java.lang.String value)
public final java.lang.String getNullDisplay()
public final void setNullDisplay(java.lang.String value)
public java.lang.Object getSample()
getSample in class StiFormatServicepublic boolean equals(java.lang.Object obj)
equals in class StiFormatServicepublic int hashCode()
hashCode in class StiFormatServicepublic java.lang.String format(java.lang.String stringFormat,
java.lang.Object arg)
format in class StiFormatServiceformat - String of the formatting.arg - Object for formatting.public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiFormatServiceJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiFormatServiceJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.