org.opennms.netmgt.config.filter
Class Column

java.lang.Object
  extended by org.opennms.netmgt.config.filter.Column
All Implemented Interfaces:
java.io.Serializable

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

Class Column.

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

Constructor Summary
Column()
           
 
Method Summary
 void addAlias(Alias vAlias)
          Method addAlias
 void addAlias(int index, Alias vAlias)
          Method addAlias
 void addConstraint(Constraint vConstraint)
          Method addConstraint
 void addConstraint(int index, Constraint vConstraint)
          Method addConstraint
 void clearAlias()
          Method clearAlias
 void clearConstraint()
          Method clearConstraint
 java.util.Enumeration enumerateAlias()
          Method enumerateAlias
 java.util.Enumeration enumerateConstraint()
          Method enumerateConstraint
 Alias[] getAlias()
          Method getAlias
 Alias getAlias(int index)
          Method getAlias
 java.util.ArrayList getAliasCollection()
          Method getAliasCollection Returns a reference to 'alias'.
 int getAliasCount()
          Method getAliasCount
 Constraint[] getConstraint()
          Method getConstraint
 Constraint getConstraint(int index)
          Method getConstraint
 java.util.ArrayList getConstraintCollection()
          Method getConstraintCollection Returns a reference to 'constraint'.
 int getConstraintCount()
          Method getConstraintCount
 java.lang.String getJavaType()
          Returns the value of field 'javaType'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getSqlType()
          Returns the value of field 'sqlType'.
 java.lang.String getVisable()
          Returns the value of field 'visable'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAlias(Alias vAlias)
          Method removeAlias
 boolean removeConstraint(Constraint vConstraint)
          Method removeConstraint
 void setAlias(Alias[] aliasArray)
          Method setAlias
 void setAlias(java.util.ArrayList aliasCollection)
          Method setAlias Sets the value of 'alias' by copying the given ArrayList.
 void setAlias(int index, Alias vAlias)
          Method setAlias
 void setAliasCollection(java.util.ArrayList aliasCollection)
          Method setAliasCollection Sets the value of 'alias' by setting it to the given ArrayList.
 void setConstraint(java.util.ArrayList constraintCollection)
          Method setConstraint Sets the value of 'constraint' by copying the given ArrayList.
 void setConstraint(Constraint[] constraintArray)
          Method setConstraint
 void setConstraint(int index, Constraint vConstraint)
          Method setConstraint
 void setConstraintCollection(java.util.ArrayList constraintCollection)
          Method setConstraintCollection Sets the value of 'constraint' by setting it to the given ArrayList.
 void setJavaType(java.lang.String javaType)
          Sets the value of field 'javaType'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setSqlType(java.lang.String sqlType)
          Sets the value of field 'sqlType'.
 void setVisable(java.lang.String visable)
          Sets the value of field 'visable'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column()
Method Detail

addAlias

public void addAlias(Alias vAlias)
              throws java.lang.IndexOutOfBoundsException
Method addAlias

Parameters:
vAlias -
Throws:
java.lang.IndexOutOfBoundsException

addAlias

public void addAlias(int index,
                     Alias vAlias)
              throws java.lang.IndexOutOfBoundsException
Method addAlias

Parameters:
index -
vAlias -
Throws:
java.lang.IndexOutOfBoundsException

addConstraint

public void addConstraint(Constraint vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method addConstraint

Parameters:
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

addConstraint

public void addConstraint(int index,
                          Constraint vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method addConstraint

Parameters:
index -
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

clearAlias

public void clearAlias()
Method clearAlias


clearConstraint

public void clearConstraint()
Method clearConstraint


enumerateAlias

public java.util.Enumeration enumerateAlias()
Method enumerateAlias

Returns:
Enumeration

enumerateConstraint

public java.util.Enumeration enumerateConstraint()
Method enumerateConstraint

Returns:
Enumeration

getAlias

public Alias getAlias(int index)
               throws java.lang.IndexOutOfBoundsException
Method getAlias

Parameters:
index -
Returns:
Alias
Throws:
java.lang.IndexOutOfBoundsException

getAlias

public Alias[] getAlias()
Method getAlias

Returns:
Alias

getAliasCollection

public java.util.ArrayList getAliasCollection()
Method getAliasCollection Returns a reference to 'alias'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getAliasCount

public int getAliasCount()
Method getAliasCount

Returns:
int

getConstraint

public Constraint getConstraint(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getConstraint

Parameters:
index -
Returns:
Constraint
Throws:
java.lang.IndexOutOfBoundsException

getConstraint

public Constraint[] getConstraint()
Method getConstraint

Returns:
Constraint

getConstraintCollection

public java.util.ArrayList getConstraintCollection()
Method getConstraintCollection Returns a reference to 'constraint'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getConstraintCount

public int getConstraintCount()
Method getConstraintCount

Returns:
int

getJavaType

public java.lang.String getJavaType()
Returns the value of field 'javaType'.

Returns:
String

getName

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

Returns:
String

getSqlType

public java.lang.String getSqlType()
Returns the value of field 'sqlType'.

Returns:
String

getVisable

public java.lang.String getVisable()
Returns the value of field 'visable'.

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

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

Parameters:
out -
Throws:
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
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAlias

public boolean removeAlias(Alias vAlias)
Method removeAlias

Parameters:
vAlias -
Returns:
boolean

removeConstraint

public boolean removeConstraint(Constraint vConstraint)
Method removeConstraint

Parameters:
vConstraint -
Returns:
boolean

setAlias

public void setAlias(int index,
                     Alias vAlias)
              throws java.lang.IndexOutOfBoundsException
Method setAlias

Parameters:
index -
vAlias -
Throws:
java.lang.IndexOutOfBoundsException

setAlias

public void setAlias(Alias[] aliasArray)
Method setAlias

Parameters:
aliasArray -

setAlias

public void setAlias(java.util.ArrayList aliasCollection)
Method setAlias Sets the value of 'alias' by copying the given ArrayList.

Parameters:
aliasCollection - the Vector to copy.

setAliasCollection

public void setAliasCollection(java.util.ArrayList aliasCollection)
Method setAliasCollection Sets the value of 'alias' by setting it to the given ArrayList. No type checking is performed.

Parameters:
aliasCollection - the ArrayList to copy.

setConstraint

public void setConstraint(int index,
                          Constraint vConstraint)
                   throws java.lang.IndexOutOfBoundsException
Method setConstraint

Parameters:
index -
vConstraint -
Throws:
java.lang.IndexOutOfBoundsException

setConstraint

public void setConstraint(Constraint[] constraintArray)
Method setConstraint

Parameters:
constraintArray -

setConstraint

public void setConstraint(java.util.ArrayList constraintCollection)
Method setConstraint Sets the value of 'constraint' by copying the given ArrayList.

Parameters:
constraintCollection - the Vector to copy.

setConstraintCollection

public void setConstraintCollection(java.util.ArrayList constraintCollection)
Method setConstraintCollection Sets the value of 'constraint' by setting it to the given ArrayList. No type checking is performed.

Parameters:
constraintCollection - the ArrayList to copy.

setJavaType

public void setJavaType(java.lang.String javaType)
Sets the value of field 'javaType'.

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

setName

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

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

setSqlType

public void setSqlType(java.lang.String sqlType)
Sets the value of field 'sqlType'.

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

setVisable

public void setVisable(java.lang.String visable)
Sets the value of field 'visable'.

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.