public abstract class Basethresholddef extends Object implements Serializable
Constructor and Description |
---|
Basethresholddef() |
Modifier and Type | Method and Description |
---|---|
void |
addResourceFilter(int index,
ResourceFilter vResourceFilter) |
void |
addResourceFilter(ResourceFilter vResourceFilter) |
void |
deleteRearm() |
void |
deleteRelaxed() |
void |
deleteTrigger() |
void |
deleteValue() |
Enumeration<ResourceFilter> |
enumerateResourceFilter()
Method enumerateResourceFilter.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDescription()
Returns the value of field 'description'.
|
String |
getDsLabel()
Returns the value of field 'dsLabel'.
|
String |
getDsType()
Returns the value of field 'dsType'.
|
String |
getFilterOperator()
Returns the value of field 'filterOperator'.
|
double |
getRearm()
Returns the value of field 'rearm'.
|
String |
getRearmedUEI()
Returns the value of field 'rearmedUEI'.
|
boolean |
getRelaxed()
Returns the value of field 'relaxed'.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasRearm()
Method hasRearm.
|
boolean |
hasRelaxed()
Method hasRelaxed.
|
boolean |
hasTrigger()
Method hasTrigger.
|
boolean |
hasValue()
Method hasValue.
|
boolean |
isRelaxed()
Returns the value of field 'relaxed'.
|
boolean |
isValid()
Method isValid.
|
Iterator<ResourceFilter> |
iterateResourceFilter()
Method iterateResourceFilter.
|
void |
removeAllResourceFilter() |
boolean |
removeResourceFilter(ResourceFilter vResourceFilter)
Method removeResourceFilter.
|
ResourceFilter |
removeResourceFilterAt(int index)
Method removeResourceFilterAt.
|
void |
setDescription(String description)
Sets the value of field 'description'.
|
void |
setDsLabel(String dsLabel)
Sets the value of field 'dsLabel'.
|
void |
setDsType(String dsType)
Sets the value of field 'dsType'.
|
void |
setFilterOperator(String filterOperator)
Sets the value of field 'filterOperator'.
|
void |
setRearm(double rearm)
Sets the value of field 'rearm'.
|
void |
setRearmedUEI(String rearmedUEI)
Sets the value of field 'rearmedUEI'.
|
void |
setRelaxed(boolean relaxed)
Sets the value of field 'relaxed'.
|
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() |
public void addResourceFilter(ResourceFilter vResourceFilter) throws IndexOutOfBoundsException
vResourceFilter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 deleteRelaxed()
public void deleteTrigger()
public void deleteValue()
public Enumeration<ResourceFilter> enumerateResourceFilter()
public boolean equals(Object obj)
public String getDescription()
public String getDsLabel()
public String getDsType()
public String getFilterOperator()
public double getRearm()
public String getRearmedUEI()
public boolean getRelaxed()
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 hasRelaxed()
public boolean hasTrigger()
public boolean hasValue()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isRelaxed()
public boolean isValid()
public Iterator<ResourceFilter> iterateResourceFilter()
public void removeAllResourceFilter()
public boolean removeResourceFilter(ResourceFilter vResourceFilter)
vResourceFilter
- public ResourceFilter removeResourceFilterAt(int index)
index
- public void setDescription(String description)
description
- the value of field 'description'.public void setDsLabel(String dsLabel)
dsLabel
- the value of field 'dsLabel'.public void setDsType(String dsType)
dsType
- the value of field 'dsType'.public void setFilterOperator(String filterOperator)
filterOperator
- the value of field 'filterOperator'.public void setRearm(double rearm)
rearm
- the value of field 'rearm'.public void setRearmedUEI(String rearmedUEI)
rearmedUEI
- the value of field 'rearmedUEI'.public void setRelaxed(boolean relaxed)
relaxed
- the value of field 'relaxed'.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 schemaCopyright © 2017. All rights reserved.