Class Row

  • All Implemented Interfaces:
    java.io.Serializable

    public class Row
    extends java.lang.Object
    implements java.io.Serializable
    Class Row.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • Row

        public Row()
    • Method Detail

      • addValue

        public void addValue​(Value vValue)
                      throws java.lang.IndexOutOfBoundsException
        Parameters:
        vValue -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • addValue

        public void addValue​(int index,
                             Value vValue)
                      throws java.lang.IndexOutOfBoundsException
        Parameters:
        index -
        vValue -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • enumerateValue

        public java.util.Enumeration<Value> enumerateValue()
        Method enumerateValue.
        Returns:
        an Enumeration over all possible elements of this collection
      • getValue

        public Value getValue​(int index)
                       throws java.lang.IndexOutOfBoundsException
        Method getValue.
        Parameters:
        index -
        Returns:
        the value of the Value at the given index
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • getValue

        public Value[] getValue()
        Method getValue.Returns the contents of the collection in an Array.

        Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

        Returns:
        this collection as an Array
      • getValueCollection

        public java.util.List<Value> getValueCollection()
        Method getValueCollection.Returns a reference to 'valueList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getValueCount

        public int getValueCount()
        Method getValueCount.
        Returns:
        the size of this collection
      • iterateValue

        public java.util.Iterator<Value> iterateValue()
        Method iterateValue.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllValue

        public void removeAllValue()
      • removeValue

        public boolean removeValue​(Value vValue)
        Method removeValue.
        Parameters:
        vValue -
        Returns:
        true if the object was removed from the collection.
      • removeValueAt

        public Value removeValueAt​(int index)
        Method removeValueAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setValue

        public void setValue​(int index,
                             Value vValue)
                      throws java.lang.IndexOutOfBoundsException
        Parameters:
        index -
        vValue -
        Throws:
        java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • setValue

        public void setValue​(Value[] vValueArray)
        Parameters:
        vValueArray -
      • setValue

        public void setValue​(java.util.List<Value> vValueList)
        Sets the value of 'valueList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vValueList - the Vector to copy.
      • setValueCollection

        public void setValueCollection​(java.util.List<Value> valueList)
        Deprecated.
        Sets the value of 'valueList' by setting it to the given Vector. No type checking is performed.
        Parameters:
        valueList - the Vector to set.