com.teraspaces.qwfix
Class FIXSchemaValidValues

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

public class FIXSchemaValidValues
extends ArrayList<FIXSchemaValidValue>

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

See Also:
Serialized Form

Method Summary
 boolean add(FIXSchemaValidValue v)
           
 boolean displayEquals(Object obj)
           
 boolean equals(Object obj)
           
 FIXSchemaField getField()
          Gets the field.
 int getIndexByName(String name)
          Gets the index by name.
 int getIndexByValue(String v)
          Gets the index by value.
 FIXSchemaValidValue getValidValueByName(String name)
          Gets the valid value by name.
 FIXSchemaValidValue getValidValueByValue(String value)
          Gets the valid value by value.
 boolean remove(Object o)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
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, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Method Detail

getField

public FIXSchemaField getField()
Gets the field.

Returns:
the field

add

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

remove

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

getValidValueByName

public FIXSchemaValidValue getValidValueByName(String name)
Gets the valid value by name.

Parameters:
name - the name
Returns:
the valid value by name

getValidValueByValue

public FIXSchemaValidValue getValidValueByValue(String value)
Gets the valid value by value.

Parameters:
value - the value
Returns:
the valid value by value

getIndexByValue

public int getIndexByValue(String v)
Gets the index by value.

Parameters:
v - the v
Returns:
the index by value

getIndexByName

public int getIndexByName(String name)
Gets the index by name.

Parameters:
name - the name
Returns:
the index by name

equals

public boolean equals(Object obj)
Specified by:
equals in interface Collection<FIXSchemaValidValue>
Specified by:
equals in interface List<FIXSchemaValidValue>
Overrides:
equals in class AbstractList<FIXSchemaValidValue>

displayEquals

public boolean displayEquals(Object obj)