com.stimulsoft.report.components.conditions
Class StiConditionsCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<StiBaseCondition>
              extended by com.stimulsoft.report.components.conditions.StiConditionsCollection
All Implemented Interfaces:
IStiJsonReportObject, IStiValueCollection, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<StiBaseCondition>, java.util.Collection<StiBaseCondition>, java.util.List<StiBaseCondition>, java.util.RandomAccess

public class StiConditionsCollection
extends java.util.ArrayList<StiBaseCondition>
implements java.lang.Cloneable, IStiValueCollection, IStiJsonReportObject

Describes the condition collection.

See Also:
Serialized Form

Constructor Summary
StiConditionsCollection()
           
 
Method Summary
 void addRange(StiBaseCondition[] conditions)
           
 void addRange(StiConditionsCollection conditions)
           
 void addRange(StiConditionsCollection conditions, boolean addOnlyNotEqual)
           
 java.lang.Class<?> getItemsType(java.lang.String textContext)
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

StiConditionsCollection

public StiConditionsCollection()
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

addRange

public final void addRange(StiConditionsCollection conditions)

addRange

public final void addRange(StiConditionsCollection conditions,
                           boolean addOnlyNotEqual)

addRange

public final void addRange(StiBaseCondition[] conditions)

getItemsType

public java.lang.Class<?> getItemsType(java.lang.String textContext)
Specified by:
getItemsType in interface IStiValueCollection
Returns:
Тип элементов коллекции, который она будет пытаться десериализовать при загрузке (если тип элемента не определён автоматически).