|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.threshd.Basethresholddef
public abstract class Basethresholddef
Class Basethresholddef.
| Constructor Summary | |
|---|---|
Basethresholddef()
|
|
| Method Summary | |
|---|---|
void |
addResourceFilter(int index,
ResourceFilter vResourceFilter)
|
void |
addResourceFilter(ResourceFilter vResourceFilter)
|
void |
deleteRearm()
|
void |
deleteTrigger()
|
void |
deleteValue()
|
Enumeration<ResourceFilter> |
enumerateResourceFilter()
Method enumerateResourceFilter. |
String |
getDsLabel()
Returns the value of field 'dsLabel'. |
String |
getDsType()
Returns the value of field 'dsType'. |
double |
getRearm()
Returns the value of field 'rearm'. |
String |
getRearmedUEI()
Returns the value of field 'rearmedUEI'. |
ResourceFilter[] |
getResourceFilter()
Method getResourceFilter.Returns the contents of the collection in an Array. |
ResourceFilter |
getResourceFilter(int index)
Method getResourceFilter. |
List<ResourceFilter> |
getResourceFilterCollection()
Method getResourceFilterCollection.Returns a reference to '_resourceFilterList'. |
int |
getResourceFilterCount()
Method getResourceFilterCount. |
int |
getTrigger()
Returns the value of field 'trigger'. |
String |
getTriggeredUEI()
Returns the value of field 'triggeredUEI'. |
String |
getType()
Returns the value of field 'type'. |
double |
getValue()
Returns the value of field 'value'. |
boolean |
hasRearm()
Method hasRearm. |
boolean |
hasTrigger()
Method hasTrigger. |
boolean |
hasValue()
Method hasValue. |
boolean |
isValid()
Method isValid. |
Iterator<ResourceFilter> |
iterateResourceFilter()
Method iterateResourceFilter. |
void |
removeAllResourceFilter()
|
boolean |
removeResourceFilter(ResourceFilter vResourceFilter)
Method removeResourceFilter. |
ResourceFilter |
removeResourceFilterAt(int index)
Method removeResourceFilterAt. |
void |
setDsLabel(String dsLabel)
Sets the value of field 'dsLabel'. |
void |
setDsType(String dsType)
Sets the value of field 'dsType'. |
void |
setRearm(double rearm)
Sets the value of field 'rearm'. |
void |
setRearmedUEI(String rearmedUEI)
Sets the value of field 'rearmedUEI'. |
void |
setResourceFilter(int index,
ResourceFilter vResourceFilter)
|
void |
setResourceFilter(List<ResourceFilter> vResourceFilterList)
Sets the value of '_resourceFilterList' by copying the given Vector. |
void |
setResourceFilter(ResourceFilter[] vResourceFilterArray)
|
void |
setResourceFilterCollection(List<ResourceFilter> resourceFilterList)
Deprecated. |
void |
setTrigger(int trigger)
Sets the value of field 'trigger'. |
void |
setTriggeredUEI(String triggeredUEI)
Sets the value of field 'triggeredUEI'. |
void |
setType(String type)
Sets the value of field 'type'. |
void |
setValue(double value)
Sets the value of field 'value'. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Basethresholddef()
| Method Detail |
|---|
public void addResourceFilter(ResourceFilter vResourceFilter)
throws IndexOutOfBoundsException
vResourceFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addResourceFilter(int index,
ResourceFilter vResourceFilter)
throws IndexOutOfBoundsException
index - vResourceFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteRearm()
public void deleteTrigger()
public void deleteValue()
public Enumeration<ResourceFilter> enumerateResourceFilter()
public String getDsLabel()
public String getDsType()
public double getRearm()
public String getRearmedUEI()
public ResourceFilter getResourceFilter(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic ResourceFilter[] getResourceFilter()
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<ResourceFilter> getResourceFilterCollection()
public int getResourceFilterCount()
public int getTrigger()
public String getTriggeredUEI()
public String getType()
public double getValue()
public boolean hasRearm()
public boolean hasTrigger()
public boolean hasValue()
public boolean isValid()
public Iterator<ResourceFilter> iterateResourceFilter()
public void removeAllResourceFilter()
public boolean removeResourceFilter(ResourceFilter vResourceFilter)
vResourceFilter -
public ResourceFilter removeResourceFilterAt(int index)
index -
public void setDsLabel(String dsLabel)
dsLabel - the value of field 'dsLabel'.public void setDsType(String dsType)
dsType - the value of field 'dsType'.public void setRearm(double rearm)
rearm - the value of field 'rearm'.public void setRearmedUEI(String rearmedUEI)
rearmedUEI - the value of field 'rearmedUEI'.
public void setResourceFilter(int index,
ResourceFilter vResourceFilter)
throws IndexOutOfBoundsException
index - vResourceFilter -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setResourceFilter(ResourceFilter[] vResourceFilterArray)
vResourceFilterArray - public void setResourceFilter(List<ResourceFilter> vResourceFilterList)
vResourceFilterList - the Vector to copy.public void setResourceFilterCollection(List<ResourceFilter> resourceFilterList)
resourceFilterList - the Vector to set.public void setTrigger(int trigger)
trigger - the value of field 'trigger'.public void setTriggeredUEI(String triggeredUEI)
triggeredUEI - the value of field 'triggeredUEI'.public void setType(String type)
type - the value of field 'type'.public void setValue(double value)
value - the value of field 'value'.
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 | ||||||||