com.teraspaces.qwfix
Class FIXSchemaRepeatingGroupCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<FIXSchemaRepeatingGroup>
              extended by com.teraspaces.qwfix.FIXSchemaRepeatingGroupCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<FIXSchemaRepeatingGroup>, Collection<FIXSchemaRepeatingGroup>, List<FIXSchemaRepeatingGroup>, RandomAccess

public class FIXSchemaRepeatingGroupCollection
extends ArrayList<FIXSchemaRepeatingGroup>

Represents a collection of FIXSchemaRepeatingGroup. This class cannot be inherited.

See Also:
Serialized Form

Constructor Summary
FIXSchemaRepeatingGroupCollection(FIXSchemaMessageFieldCollection parent)
          Instantiates a new fIX schema repeating group collection.
 
Method Summary
 boolean add(FIXSchemaRepeatingGroup group)
           
 void add(int index, FIXSchemaRepeatingGroup group)
           
 boolean addAll(Collection<? extends FIXSchemaRepeatingGroup> c)
           
 boolean addAll(int index, Collection<? extends FIXSchemaRepeatingGroup> c)
           
 void clear()
           
 FIXSchemaRepeatingGroup getGroupByNumberTag(int tag)
          Gets the group by number tag.
 FIXSchemaMessageFieldCollection getParent()
          Gets the parent.
 FIXSchemaRepeatingGroup remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 FIXSchemaRepeatingGroup set(int index, FIXSchemaRepeatingGroup newGroup)
           
 
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, 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, 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, subList
 

Constructor Detail

FIXSchemaRepeatingGroupCollection

public FIXSchemaRepeatingGroupCollection(FIXSchemaMessageFieldCollection parent)
Instantiates a new fIX schema repeating group collection.

Parameters:
parent - the parent
Method Detail

add

public boolean add(FIXSchemaRepeatingGroup group)
Specified by:
add in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
add in interface List<FIXSchemaRepeatingGroup>
Overrides:
add in class ArrayList<FIXSchemaRepeatingGroup>

add

public void add(int index,
                FIXSchemaRepeatingGroup group)
Specified by:
add in interface List<FIXSchemaRepeatingGroup>
Overrides:
add in class ArrayList<FIXSchemaRepeatingGroup>

set

public FIXSchemaRepeatingGroup set(int index,
                                   FIXSchemaRepeatingGroup newGroup)
Specified by:
set in interface List<FIXSchemaRepeatingGroup>
Overrides:
set in class ArrayList<FIXSchemaRepeatingGroup>

remove

public FIXSchemaRepeatingGroup remove(int index)
Specified by:
remove in interface List<FIXSchemaRepeatingGroup>
Overrides:
remove in class ArrayList<FIXSchemaRepeatingGroup>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
remove in interface List<FIXSchemaRepeatingGroup>
Overrides:
remove in class ArrayList<FIXSchemaRepeatingGroup>

clear

public void clear()
Specified by:
clear in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
clear in interface List<FIXSchemaRepeatingGroup>
Overrides:
clear in class ArrayList<FIXSchemaRepeatingGroup>

addAll

public boolean addAll(Collection<? extends FIXSchemaRepeatingGroup> c)
Specified by:
addAll in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
addAll in interface List<FIXSchemaRepeatingGroup>
Overrides:
addAll in class ArrayList<FIXSchemaRepeatingGroup>

addAll

public boolean addAll(int index,
                      Collection<? extends FIXSchemaRepeatingGroup> c)
Specified by:
addAll in interface List<FIXSchemaRepeatingGroup>
Overrides:
addAll in class ArrayList<FIXSchemaRepeatingGroup>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
removeAll in interface List<FIXSchemaRepeatingGroup>
Overrides:
removeAll in class AbstractCollection<FIXSchemaRepeatingGroup>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<FIXSchemaRepeatingGroup>
Specified by:
retainAll in interface List<FIXSchemaRepeatingGroup>
Overrides:
retainAll in class AbstractCollection<FIXSchemaRepeatingGroup>

getParent

public FIXSchemaMessageFieldCollection getParent()
Gets the parent.

Returns:
the parent

getGroupByNumberTag

public FIXSchemaRepeatingGroup getGroupByNumberTag(int tag)
Gets the group by number tag.

Parameters:
tag - the tag
Returns:
the group by number tag