|
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.xml.eventconf.Correlation
Field Summary | |
private java.lang.String |
_cmax
|
private java.lang.String |
_cmin
|
private java.lang.String |
_ctime
|
private java.util.ArrayList |
_cueiList
|
private java.lang.String |
_path
|
private java.lang.String |
_state
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Correlation()
|
Method Summary | |
void |
addCuei(int index,
java.lang.String vCuei)
|
void |
addCuei(java.lang.String vCuei)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearCuei()
|
java.util.Enumeration |
enumerateCuei()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getCmax()
Returns the value of field 'cmax'. |
java.lang.String |
getCmin()
Returns the value of field 'cmin'. |
java.lang.String |
getCtime()
Returns the value of field 'ctime'. |
java.lang.String[] |
getCuei()
|
java.lang.String |
getCuei(int index)
|
java.util.Collection |
getCueiCollection()
|
int |
getCueiCount()
|
java.lang.String |
getPath()
Returns the value of field 'path'. |
java.lang.String |
getState()
Returns the value of field 'state'. |
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 |
removeCuei(java.lang.String vCuei)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCmax(java.lang.String cmax)
Sets the value of field 'cmax'. |
void |
setCmin(java.lang.String cmin)
Sets the value of field 'cmin'. |
void |
setCtime(java.lang.String ctime)
Sets the value of field 'ctime'. |
void |
setCuei(int index,
java.lang.String vCuei)
|
void |
setCuei(java.lang.String[] cueiArray)
|
void |
setCueiCollection(java.util.Collection vCuei)
|
void |
setPath(java.lang.String path)
Sets the value of field 'path'. |
void |
setState(java.lang.String state)
Sets the value of field 'state'. |
static Correlation |
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 _state
private java.lang.String _path
private java.util.ArrayList _cueiList
private java.lang.String _cmin
private java.lang.String _cmax
private java.lang.String _ctime
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Correlation()
Method Detail |
public void addCuei(java.lang.String vCuei) throws java.lang.IndexOutOfBoundsException
vCuei
-
java.lang.IndexOutOfBoundsException
public void addCuei(int index, java.lang.String vCuei) throws java.lang.IndexOutOfBoundsException
index
- vCuei
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearCuei()
public java.util.Enumeration enumerateCuei()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getCmax()
public java.lang.String getCmin()
public java.lang.String getCtime()
public java.lang.String getCuei(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getCuei()
public java.util.Collection getCueiCollection()
public int getCueiCount()
public java.lang.String getPath()
public java.lang.String getState()
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 removeCuei(java.lang.String vCuei)
vCuei
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setCmax(java.lang.String cmax)
cmax
- the value of field 'cmax'.public void setCmin(java.lang.String cmin)
cmin
- the value of field 'cmin'.public void setCtime(java.lang.String ctime)
ctime
- the value of field 'ctime'.public void setCuei(int index, java.lang.String vCuei) throws java.lang.IndexOutOfBoundsException
index
- vCuei
-
java.lang.IndexOutOfBoundsException
public void setCuei(java.lang.String[] cueiArray)
cueiArray
- public void setCueiCollection(java.util.Collection vCuei)
vCuei
- public void setPath(java.lang.String path)
path
- the value of field 'path'.public void setState(java.lang.String state)
state
- the value of field 'state'.public static Correlation 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 |