public class Group extends Object implements Serializable
| Constructor and Description | 
|---|
| Group() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addExpression(Expression vExpression) | 
| void | addExpression(int index,
             Expression vExpression) | 
| void | addThreshold(int index,
            Threshold vThreshold) | 
| void | addThreshold(Threshold vThreshold) | 
| Enumeration<Expression> | enumerateExpression()Method enumerateExpression. | 
| Enumeration<Threshold> | enumerateThreshold()Method enumerateThreshold. | 
| boolean | equals(Object obj)Overrides the java.lang.Object.equals method. | 
| Expression[] | getExpression()Method getExpression.Returns the contents of the collection
 in an Array. | 
| Expression | getExpression(int index)Method getExpression. | 
| List<Expression> | getExpressionCollection()Method getExpressionCollection.Returns a reference to
 '_expressionList'. | 
| int | getExpressionCount()Method getExpressionCount. | 
| String | getName()Returns the value of field 'name'. | 
| String | getRrdRepository()Returns the value of field 'rrdRepository'. | 
| Threshold[] | getThreshold()Method getThreshold.Returns the contents of the collection
 in an Array. | 
| Threshold | getThreshold(int index)Method getThreshold. | 
| List<Threshold> | getThresholdCollection()Method getThresholdCollection.Returns a reference to
 '_thresholdList'. | 
| int | getThresholdCount()Method getThresholdCount. | 
| int | hashCode()Overrides the java.lang.Object.hashCode method. | 
| boolean | isValid()Method isValid. | 
| Iterator<Expression> | iterateExpression()Method iterateExpression. | 
| Iterator<Threshold> | iterateThreshold()Method iterateThreshold. | 
| void | marshal(ContentHandler handler) | 
| void | marshal(Writer out) | 
| void | removeAllExpression() | 
| void | removeAllThreshold() | 
| boolean | removeExpression(Expression vExpression)Method removeExpression. | 
| Expression | removeExpressionAt(int index)Method removeExpressionAt. | 
| boolean | removeThreshold(Threshold vThreshold)Method removeThreshold. | 
| Threshold | removeThresholdAt(int index)Method removeThresholdAt. | 
| void | setExpression(Expression[] vExpressionArray) | 
| void | setExpression(int index,
             Expression vExpression) | 
| void | setExpression(List<Expression> vExpressionList)Sets the value of '_expressionList' by copying the given
 Vector. | 
| void | setExpressionCollection(List<Expression> expressionList)Deprecated.   | 
| void | setName(String name)Sets the value of field 'name'. | 
| void | setRrdRepository(String rrdRepository)Sets the value of field 'rrdRepository'. | 
| void | setThreshold(int index,
            Threshold vThreshold) | 
| void | setThreshold(List<Threshold> vThresholdList)Sets the value of '_thresholdList' by copying the given
 Vector. | 
| void | setThreshold(Threshold[] vThresholdArray) | 
| void | setThresholdCollection(List<Threshold> thresholdList)Deprecated.   | 
| static Group | unmarshal(Reader reader)Method unmarshal. | 
| void | validate() | 
public void addExpression(Expression vExpression) throws IndexOutOfBoundsException
vExpression - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addExpression(int index,
                          Expression vExpression)
                   throws IndexOutOfBoundsException
index - vExpression - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addThreshold(Threshold vThreshold) throws IndexOutOfBoundsException
vThreshold - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addThreshold(int index,
                         Threshold vThreshold)
                  throws IndexOutOfBoundsException
index - vThreshold - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Enumeration<Expression> enumerateExpression()
public Enumeration<Threshold> enumerateThreshold()
public boolean equals(Object obj)
public Expression getExpression(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Expression[] getExpression()
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<Expression> getExpressionCollection()
public int getExpressionCount()
public String getName()
public String getRrdRepository()
public Threshold getThreshold(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Threshold[] getThreshold()
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<Threshold> getThresholdCollection()
public int getThresholdCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Expression> iterateExpression()
public Iterator<Threshold> iterateThreshold()
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 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOException - if an IOException occurs during
 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingpublic void removeAllExpression()
public void removeAllThreshold()
public boolean removeExpression(Expression vExpression)
vExpression - public Expression removeExpressionAt(int index)
index - public boolean removeThreshold(Threshold vThreshold)
vThreshold - public Threshold removeThresholdAt(int index)
index - public void setExpression(int index,
                          Expression vExpression)
                   throws IndexOutOfBoundsException
index - vExpression - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setExpression(Expression[] vExpressionArray)
vExpressionArray - public void setExpression(List<Expression> vExpressionList)
vExpressionList - the Vector to copy.public void setExpressionCollection(List<Expression> expressionList)
expressionList - the Vector to set.public void setName(String name)
name - the value of field 'name'.public void setRrdRepository(String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.public void setThreshold(int index,
                         Threshold vThreshold)
                  throws IndexOutOfBoundsException
index - vThreshold - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setThreshold(Threshold[] vThresholdArray)
vThresholdArray - public void setThreshold(List<Threshold> vThresholdList)
vThresholdList - the Vector to copy.public void setThresholdCollection(List<Threshold> thresholdList)
thresholdList - the Vector to set.public static Group 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 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic 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.