|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.filter.Column
Field Summary | |
private java.util.ArrayList |
_aliasList
|
private java.util.ArrayList |
_constraintList
|
private java.lang.String |
_javaType
|
private java.lang.String |
_name
|
private java.lang.String |
_sqlType
|
private java.lang.String |
_visable
|
private java.util.Vector |
propertyChangeListeners
|
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)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearAlias()
|
void |
clearConstraint()
|
java.util.Enumeration |
enumerateAlias()
|
java.util.Enumeration |
enumerateConstraint()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Alias[] |
getAlias()
|
Alias |
getAlias(int index)
|
java.util.Collection |
getAliasCollection()
|
int |
getAliasCount()
|
Constraint[] |
getConstraint()
|
Constraint |
getConstraint(int index)
|
java.util.Collection |
getConstraintCollection()
|
int |
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()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeAlias(Alias vAlias)
|
boolean |
removeConstraint(Constraint vConstraint)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setAlias(Alias[] aliasArray)
|
void |
setAlias(int index,
Alias vAlias)
|
void |
setAliasCollection(java.util.Collection vAlias)
|
void |
setConstraint(Constraint[] constraintArray)
|
void |
setConstraint(int index,
Constraint vConstraint)
|
void |
setConstraintCollection(java.util.Collection vConstraint)
|
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 Column |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _name
private java.lang.String _sqlType
private java.lang.String _javaType
private java.lang.String _visable
private java.util.ArrayList _aliasList
private java.util.ArrayList _constraintList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Column()
Method Detail |
public void addAlias(Alias vAlias) throws java.lang.IndexOutOfBoundsException
vAlias
-
java.lang.IndexOutOfBoundsException
public void addAlias(int index, Alias vAlias) throws java.lang.IndexOutOfBoundsException
index
- vAlias
-
java.lang.IndexOutOfBoundsException
public void addConstraint(Constraint vConstraint) throws java.lang.IndexOutOfBoundsException
vConstraint
-
java.lang.IndexOutOfBoundsException
public void addConstraint(int index, Constraint vConstraint) throws java.lang.IndexOutOfBoundsException
index
- vConstraint
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearAlias()
public void clearConstraint()
public java.util.Enumeration enumerateAlias()
public java.util.Enumeration enumerateConstraint()
public boolean equals(java.lang.Object obj)
obj
- public Alias getAlias(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Alias[] getAlias()
public java.util.Collection getAliasCollection()
public int getAliasCount()
public Constraint getConstraint(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Constraint[] getConstraint()
public java.util.Collection getConstraintCollection()
public int getConstraintCount()
public java.lang.String getJavaType()
public java.lang.String getName()
public java.lang.String getSqlType()
public java.lang.String getVisable()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeAlias(Alias vAlias)
vAlias
- public boolean removeConstraint(Constraint vConstraint)
vConstraint
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setAlias(int index, Alias vAlias) throws java.lang.IndexOutOfBoundsException
index
- vAlias
-
java.lang.IndexOutOfBoundsException
public void setAlias(Alias[] aliasArray)
aliasArray
- public void setAliasCollection(java.util.Collection vAlias)
vAlias
- public void setConstraint(int index, Constraint vConstraint) throws java.lang.IndexOutOfBoundsException
index
- vConstraint
-
java.lang.IndexOutOfBoundsException
public void setConstraint(Constraint[] constraintArray)
constraintArray
- public void setConstraintCollection(java.util.Collection vConstraint)
vConstraint
- public void setJavaType(java.lang.String javaType)
javaType
- the value of field 'javaType'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setSqlType(java.lang.String sqlType)
sqlType
- the value of field 'sqlType'.public void setVisable(java.lang.String visable)
visable
- the value of field 'visable'.public static Column unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |