com.datamessenger.util
Class Record


java.lang.Object

  |

  +--java.util.AbstractCollection

        |

        +--java.util.AbstractList

              |

              +--java.util.Vector

                    |

                    +--com.datamessenger.util.Record

Direct Known Subclasses:
TableColumn

public class Record
extends java.util.Vector

A Vector sub-class that evaluates equality by its name Object.

See Also:
Serialized Form

Field Summary
static int COLUMN
           
static int ROW
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 boolean equals(java.lang.Object obj)
          This Method overrides equals() in java.util.Vector such that a Record is compared to it's column name Object or row Integer index.
 java.lang.Object getID()
          The name identifier for this record.
 int getOrintation()
          The row/column orintation.
 int getValueIndex(java.lang.Object elem, int index)
           
 void insertValueAt(java.lang.Object obj, int index)
           
 void setRecordSize(int newSize)
           
 void setValueAt(java.lang.Object obj, int index)
           
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COLUMN


public static final int COLUMN

ROW


public static final int ROW
Method Detail

getOrintation


public int getOrintation()
The row/column orintation.
Returns:
ROW | COLUMN
See Also:
ROW

insertValueAt


public void insertValueAt(java.lang.Object obj,

                          int index)

setValueAt


public void setValueAt(java.lang.Object obj,

                       int index)

getValueIndex


public int getValueIndex(java.lang.Object elem,

                         int index)

setRecordSize


public void setRecordSize(int newSize)

equals


public boolean equals(java.lang.Object obj)
This Method overrides equals() in java.util.Vector such that a Record is compared to it's column name Object or row Integer index.
Overrides:
equals in class java.util.Vector
Parameters:
Object - compared this Record.

getID


public java.lang.Object getID()
The name identifier for this record.


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.