org.exolab.jms.tools.db
Class PrimaryKey

java.lang.Object
  |
  +--org.exolab.jms.tools.db.PrimaryKey
All Implemented Interfaces:
java.io.Serializable

public synchronized class PrimaryKey
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
PrimaryKey()
           
 
Method Summary
 void addColumn(Column)
           
 void addColumn(int, Column)
           
 void clearColumn()
           
 java.util.Enumeration enumerateColumn()
           
 Column[] getColumn()
           
 Column getColumn(int)
           
 int getColumnCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler)
           
 void marshal(java.io.Writer)
           
 boolean removeColumn(Column)
           
 void setColumn(Column[])
           
 void setColumn(int, Column)
           
static PrimaryKey unmarshal(java.io.Reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKey

public PrimaryKey()
Method Detail

addColumn

public void addColumn(Column)
               throws java.lang.IndexOutOfBoundsException

addColumn

public void addColumn(int,
                      Column)
               throws java.lang.IndexOutOfBoundsException

clearColumn

public void clearColumn()

enumerateColumn

public java.util.Enumeration enumerateColumn()

getColumn

public Column getColumn(int)
                 throws java.lang.IndexOutOfBoundsException

getColumn

public Column[] getColumn()

getColumnCount

public int getColumnCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

removeColumn

public boolean removeColumn(Column)

setColumn

public void setColumn(int,
                      Column)
               throws java.lang.IndexOutOfBoundsException

setColumn

public void setColumn(Column[])

unmarshal

public static PrimaryKey unmarshal(java.io.Reader)
                            throws org.exolab.castor.xml.MarshalException,
                                   org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.