org.enableit.db.beans
Class RowSet

java.lang.Object
  |
  +--org.enableit.db.beans.RowSet
All Implemented Interfaces:
java.io.Serializable

public class RowSet
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
RowSet()
           
 
Method Summary
 void addConflictResolver(int index, java.lang.String vConflictResolver)
           
 void addConflictResolver(java.lang.String vConflictResolver)
           
 void addRow(int index, org.enableit.db.beans.Row vRow)
           
 void addRow(org.enableit.db.beans.Row vRow)
           
 void deleteTruncateFirst()
           
 java.util.Enumeration enumerateConflictResolver()
           
 java.util.Enumeration enumerateRow()
           
 java.lang.String[] getConflictResolver()
           
 java.lang.String getConflictResolver(int index)
           
 int getConflictResolverCount()
           
 org.enableit.db.beans.Row[] getRow()
           
 org.enableit.db.beans.Row getRow(int index)
           
 int getRowCount()
           
 java.lang.String getTable()
          Returns the value of field 'table'.
 boolean getTruncateFirst()
          Returns the value of field 'truncateFirst'.
 boolean hasTruncateFirst()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllConflictResolver()
           
 void removeAllRow()
           
 java.lang.String removeConflictResolver(int index)
           
 org.enableit.db.beans.Row removeRow(int index)
           
 void setConflictResolver(int index, java.lang.String vConflictResolver)
           
 void setConflictResolver(java.lang.String[] conflictResolverArray)
           
 void setRow(int index, org.enableit.db.beans.Row vRow)
           
 void setRow(org.enableit.db.beans.Row[] rowArray)
           
 void setTable(java.lang.String table)
          Sets the value of field 'table'.
 void setTruncateFirst(boolean truncateFirst)
          Sets the value of field 'truncateFirst'.
static org.enableit.db.beans.RowSet unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowSet

public RowSet()
Method Detail

addConflictResolver

public void addConflictResolver(java.lang.String vConflictResolver)
                         throws java.lang.IndexOutOfBoundsException
Parameters:
vConflictResolver -
java.lang.IndexOutOfBoundsException

addConflictResolver

public void addConflictResolver(int index,
                                java.lang.String vConflictResolver)
                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vConflictResolver -
java.lang.IndexOutOfBoundsException

addRow

public void addRow(org.enableit.db.beans.Row vRow)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vRow -
java.lang.IndexOutOfBoundsException

addRow

public void addRow(int index,
                   org.enableit.db.beans.Row vRow)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vRow -
java.lang.IndexOutOfBoundsException

deleteTruncateFirst

public void deleteTruncateFirst()

enumerateConflictResolver

public java.util.Enumeration enumerateConflictResolver()

enumerateRow

public java.util.Enumeration enumerateRow()

getConflictResolver

public java.lang.String getConflictResolver(int index)
                                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getConflictResolver

public java.lang.String[] getConflictResolver()

getConflictResolverCount

public int getConflictResolverCount()

getRow

public org.enableit.db.beans.Row getRow(int index)
                                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getRow

public org.enableit.db.beans.Row[] getRow()

getRowCount

public int getRowCount()

getTable

public java.lang.String getTable()
Returns the value of field 'table'.

Returns:
the value of field 'table'.

getTruncateFirst

public boolean getTruncateFirst()
Returns the value of field 'truncateFirst'.

Returns:
the value of field 'truncateFirst'.

hasTruncateFirst

public boolean hasTruncateFirst()

isValid

public boolean isValid()

marshal

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

marshal

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

removeAllConflictResolver

public void removeAllConflictResolver()

removeAllRow

public void removeAllRow()

removeConflictResolver

public java.lang.String removeConflictResolver(int index)
Parameters:
index -

removeRow

public org.enableit.db.beans.Row removeRow(int index)
Parameters:
index -

setConflictResolver

public void setConflictResolver(int index,
                                java.lang.String vConflictResolver)
                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vConflictResolver -
java.lang.IndexOutOfBoundsException

setConflictResolver

public void setConflictResolver(java.lang.String[] conflictResolverArray)
Parameters:
conflictResolverArray -

setRow

public void setRow(int index,
                   org.enableit.db.beans.Row vRow)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vRow -
java.lang.IndexOutOfBoundsException

setRow

public void setRow(org.enableit.db.beans.Row[] rowArray)
Parameters:
rowArray -

setTable

public void setTable(java.lang.String table)
Sets the value of field 'table'.

Parameters:
table - the value of field 'table'.

setTruncateFirst

public void setTruncateFirst(boolean truncateFirst)
Sets the value of field 'truncateFirst'.

Parameters:
truncateFirst - the value of field 'truncateFirst'.

unmarshal

public static org.enableit.db.beans.RowSet unmarshal(java.io.Reader reader)
                                              throws org.exolab.castor.xml.MarshalException,
                                                     org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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


Copyright © 1999-2004 enableIT.org. All Rights Reserved.