Class StiBusinessObject
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.dictionary.businessObjects.StiBusinessObject
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName
public class StiBusinessObject
extends StiSerializedObject
implements IStiName, IStiJsonReportObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanintprotected intFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates new instance of StiBusinessObject class.StiBusinessObject(String category, String name, String alias, String guid) Creates new instance of StiBusinessObject class. -
Method Summary
Modifier and TypeMethodDescriptionvoidClear all earlier saved object states.final voidConnect()final voidfinal voidvoidfirst()Sets a position at the beginning.final StringgetAlias()Gets or sets alias of business object.final Objectfinal ObjectGetBusinessObjectData(boolean isColumnsRetrieve) Gets or sets collection of the business objects.final ObjectGets or sets business object.final StringGets or sets category name of business object.Gets or sets the column collection.final StringReturns the name of the Business Object.final intgetCount()Gets count of elements.final Objectfinal StiDictionaryGets or sets the dictionary in which this Business Object is located.final StringReturns the text representation of the Business Object.final StringgetGuid()Gets or sets guid of business object.final booleanbooleangetIsBof()Gets value indicates that this position specifies to the beginning of data.booleanGets value indicates that no data.booleangetIsEof()Gets value indicates that this position specifies to the data end.final ObjectintgetLevel()final StringgetName()Gets or sets name of business object.final StiBusinessObjectintGets the current position.intgetSize()protected final StiStatesManagerGets the component states manager.final StiBusinessObjectbooleanisBof()booleanisEmpty()booleanisEof()voidlast()Sets a position on the last element.voidLoadFromJsonObject(JSONObject jObject) voidnext()Sets a position on the next element.voidprior()Sets a position on the previous element.final voidvoidRestoreState(String string) voidfinal voidvoidsetBof(boolean value) final voidfinal voidsetBusinessObjectValue(Object value) final voidsetCategory(String value) voidvoidsetCurrentObject(Object object) final voidSet the details data for Business Objects.final voidsetDictionary(StiDictionary value) voidsetEof(boolean value) final voidfinal voidsetInherited(boolean value) voidsetIsBof(boolean value) voidsetIsEof(boolean value) final voidfinal voidvoidsetOwnerBand(StiDataBand masterDataBand) final voidvoidsetPosition(int value) final voidintsize()toString()Returns the text view of the Business Object.Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
enumerator
-
positionValue
protected int positionValue -
Position
public int Position -
isBofValue
protected boolean isBofValue -
isEofValue
protected boolean isEofValue
-
-
Constructor Details
-
StiBusinessObject
public StiBusinessObject()Creates new instance of StiBusinessObject class. -
StiBusinessObject
Creates new instance of StiBusinessObject class.- Parameters:
category- Category of business object.name- Name of business object.alias- Alias of business object.value- Business object.
-
-
Method Details
-
getStates
Gets the component states manager. -
ClearAllStates
public void ClearAllStates()Clear all earlier saved object states. -
getInherited
public final boolean getInherited() -
setInherited
public final void setInherited(boolean value) -
getPosition
public int getPosition()Gets the current position. -
setPosition
public void setPosition(int value) -
getCount
public final int getCount()Gets count of elements. -
getIsBof
public boolean getIsBof()Gets value indicates that this position specifies to the beginning of data. -
setIsBof
public void setIsBof(boolean value) -
getIsEof
public boolean getIsEof()Gets value indicates that this position specifies to the data end. -
setIsEof
public void setIsEof(boolean value) -
getIsEmpty
public boolean getIsEmpty()Gets value indicates that no data. -
first
public void first()Sets a position at the beginning. -
prior
public void prior()Sets a position on the previous element. -
next
public void next()Sets a position on the next element. -
last
public void last()Sets a position on the last element. -
getCurrent
-
getBusinessObjects
Gets or sets collection of the business objects. -
setBusinessObjects
-
getColumns
Gets or sets the column collection. -
setColumns
-
getGuid
Gets or sets guid of business object. -
setGuid
-
getCategory
Gets or sets category name of business object. -
setCategory
-
getName
Gets or sets name of business object. -
setName
-
getAlias
Gets or sets alias of business object. -
setAlias
-
getBusinessObjectValue
Gets or sets business object. -
setBusinessObjectValue
-
getDictionary
Gets or sets the dictionary in which this Business Object is located. -
setDictionary
-
SetPrevValue
public final void SetPrevValue() -
SetNextValue
public final void SetNextValue() -
RestoreCurrentValue
public final void RestoreCurrentValue() -
GetTopParentBusinessObject
-
CreateEnumerator
public final void CreateEnumerator() -
SetDetails
public final void SetDetails()Set the details data for Business Objects. -
GetBusinessObjectData
-
GetBusinessObjectData
-
GetFullName
Returns the text representation of the Business Object.- Returns:
-
GetCorrectFullName
Returns the name of the Business Object.- Returns:
-
toString
Returns the text view of the Business Object. -
Connect
public final void Connect() -
Disconnect
public final void Disconnect() -
getParentBusinessObject
-
setParentBusinessObject
-
getItem
-
isEof
public boolean isEof() -
setEof
public void setEof(boolean value) -
isBof
public boolean isBof() -
setBof
public void setBof(boolean value) -
isEmpty
public boolean isEmpty() -
getSize
public int getSize() -
size
public int size() -
SaveState
-
RestoreState
-
get
-
setCurrentObject
-
getLevel
public int getLevel() -
setOwnerBand
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-