|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.filter.Column
public class Column
Class Column.
| Constructor Summary | |
|---|---|
Column()
|
|
| Method Summary | |
|---|---|
void |
addAlias(Alias vAlias)
|
void |
addAlias(int index,
Alias vAlias)
|
void |
addConstraint(Constraint vConstraint)
|
void |
addConstraint(int index,
Constraint vConstraint)
|
Enumeration<Alias> |
enumerateAlias()
Method enumerateAlias. |
Enumeration<Constraint> |
enumerateConstraint()
Method enumerateConstraint. |
Alias[] |
getAlias()
Method getAlias.Returns the contents of the collection in an Array. |
Alias |
getAlias(int index)
Method getAlias. |
List<Alias> |
getAliasCollection()
Method getAliasCollection.Returns a reference to '_aliasList'. |
int |
getAliasCount()
Method getAliasCount. |
Constraint[] |
getConstraint()
Method getConstraint.Returns the contents of the collection in an Array. |
Constraint |
getConstraint(int index)
Method getConstraint. |
List<Constraint> |
getConstraintCollection()
Method getConstraintCollection.Returns a reference to '_constraintList'. |
int |
getConstraintCount()
Method getConstraintCount. |
String |
getJavaType()
Returns the value of field 'javaType'. |
String |
getName()
Returns the value of field 'name'. |
String |
getSqlType()
Returns the value of field 'sqlType'. |
String |
getVisible()
Returns the value of field 'visible'. |
boolean |
isValid()
Method isValid. |
Iterator<Alias> |
iterateAlias()
Method iterateAlias. |
Iterator<Constraint> |
iterateConstraint()
Method iterateConstraint. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
boolean |
removeAlias(Alias vAlias)
Method removeAlias. |
Alias |
removeAliasAt(int index)
Method removeAliasAt. |
void |
removeAllAlias()
|
void |
removeAllConstraint()
|
boolean |
removeConstraint(Constraint vConstraint)
Method removeConstraint. |
Constraint |
removeConstraintAt(int index)
Method removeConstraintAt. |
void |
setAlias(Alias[] vAliasArray)
|
void |
setAlias(int index,
Alias vAlias)
|
void |
setAlias(List<Alias> vAliasList)
Sets the value of '_aliasList' by copying the given Vector. |
void |
setAliasCollection(List<Alias> aliasList)
Deprecated. |
void |
setConstraint(Constraint[] vConstraintArray)
|
void |
setConstraint(int index,
Constraint vConstraint)
|
void |
setConstraint(List<Constraint> vConstraintList)
Sets the value of '_constraintList' by copying the given Vector. |
void |
setConstraintCollection(List<Constraint> constraintList)
Deprecated. |
void |
setJavaType(String javaType)
Sets the value of field 'javaType'. |
void |
setName(String name)
Sets the value of field 'name'. |
void |
setSqlType(String sqlType)
Sets the value of field 'sqlType'. |
void |
setVisible(String visible)
Sets the value of field 'visible'. |
static Column |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Column()
| Method Detail |
|---|
public void addAlias(Alias vAlias)
throws IndexOutOfBoundsException
vAlias -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAlias(int index,
Alias vAlias)
throws IndexOutOfBoundsException
index - vAlias -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addConstraint(Constraint vConstraint)
throws IndexOutOfBoundsException
vConstraint -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addConstraint(int index,
Constraint vConstraint)
throws IndexOutOfBoundsException
index - vConstraint -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Alias> enumerateAlias()
public Enumeration<Constraint> enumerateConstraint()
public Alias getAlias(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Alias[] getAlias()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Alias> getAliasCollection()
public int getAliasCount()
public Constraint getConstraint(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Constraint[] getConstraint()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Constraint> getConstraintCollection()
public int getConstraintCount()
public String getJavaType()
public String getName()
public String getSqlType()
public String getVisible()
public boolean isValid()
public Iterator<Alias> iterateAlias()
public Iterator<Constraint> iterateConstraint()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic boolean removeAlias(Alias vAlias)
vAlias -
public Alias removeAliasAt(int index)
index -
public void removeAllAlias()
public void removeAllConstraint()
public boolean removeConstraint(Constraint vConstraint)
vConstraint -
public Constraint removeConstraintAt(int index)
index -
public void setAlias(int index,
Alias vAlias)
throws IndexOutOfBoundsException
index - vAlias -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAlias(Alias[] vAliasArray)
vAliasArray - public void setAlias(List<Alias> vAliasList)
vAliasList - the Vector to copy.public void setAliasCollection(List<Alias> aliasList)
aliasList - the Vector to set.
public void setConstraint(int index,
Constraint vConstraint)
throws IndexOutOfBoundsException
index - vConstraint -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setConstraint(Constraint[] vConstraintArray)
vConstraintArray - public void setConstraint(List<Constraint> vConstraintList)
vConstraintList - the Vector to copy.public void setConstraintCollection(List<Constraint> constraintList)
constraintList - the Vector to set.public void setJavaType(String javaType)
javaType - the value of field 'javaType'.public void setName(String name)
name - the value of field 'name'.public void setSqlType(String sqlType)
sqlType - the value of field 'sqlType'.public void setVisible(String visible)
visible - the value of field 'visible'.
public static Column unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||