org.enableit.db.beans
Class View

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

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

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

Constructor Summary
View()
           
 
Method Summary
 void addColumn(org.enableit.db.beans.Column vColumn)
           
 void addColumn(int index, org.enableit.db.beans.Column vColumn)
           
 java.util.Enumeration enumerateColumn()
           
 org.enableit.db.beans.Column[] getColumn()
           
 org.enableit.db.beans.Column getColumn(int index)
           
 int getColumnCount()
           
 java.lang.String getDefinition()
          Returns the value of field 'definition'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllColumn()
           
 org.enableit.db.beans.Column removeColumn(int index)
           
 void setColumn(org.enableit.db.beans.Column[] columnArray)
           
 void setColumn(int index, org.enableit.db.beans.Column vColumn)
           
 void setDefinition(java.lang.String definition)
          Sets the value of field 'definition'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static org.enableit.db.beans.View 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

View

public View()
Method Detail

addColumn

public void addColumn(org.enableit.db.beans.Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vColumn -
java.lang.IndexOutOfBoundsException

addColumn

public void addColumn(int index,
                      org.enableit.db.beans.Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vColumn -
java.lang.IndexOutOfBoundsException

enumerateColumn

public java.util.Enumeration enumerateColumn()

getColumn

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

getColumn

public org.enableit.db.beans.Column[] getColumn()

getColumnCount

public int getColumnCount()

getDefinition

public java.lang.String getDefinition()
Returns the value of field 'definition'.

Returns:
the value of field 'definition'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getType

public java.lang.String getType()
Returns the value of field 'type'.

Returns:
the value of field 'type'.

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

removeAllColumn

public void removeAllColumn()

removeColumn

public org.enableit.db.beans.Column removeColumn(int index)
Parameters:
index -

setColumn

public void setColumn(int index,
                      org.enableit.db.beans.Column vColumn)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vColumn -
java.lang.IndexOutOfBoundsException

setColumn

public void setColumn(org.enableit.db.beans.Column[] columnArray)
Parameters:
columnArray -

setDefinition

public void setDefinition(java.lang.String definition)
Sets the value of field 'definition'.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.

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

unmarshal

public static org.enableit.db.beans.View 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.