Package org.opennms.protocols.xml.config
Class XmlRrd
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlRrd
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<XmlRrd>
public class XmlRrd extends Object implements Serializable, Comparable<XmlRrd>, Cloneable
The Class XmlRrd.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRra(String rra)
Adds a new RRA.XmlRrd
clone()
int
compareTo(XmlRrd obj)
boolean
equals(Object obj)
Integer
getStep()
Gets the step.List<String>
getXmlRras()
Gets the XML RRAs.void
removeRra(String rra)
Removes a RRA.void
setStep(Integer step)
Sets the step.void
setXmlRras(List<String> xmlRras)
Sets the XML RRAs.
-
-
-
Constructor Detail
-
XmlRrd
public XmlRrd()
Instantiates a new XML RRD.
-
XmlRrd
public XmlRrd(XmlRrd copy)
-
-
Method Detail
-
getStep
public Integer getStep()
Gets the step.- Returns:
- the step
-
setStep
public void setStep(Integer step)
Sets the step.- Parameters:
step
- the new step
-
setXmlRras
public void setXmlRras(List<String> xmlRras)
Sets the XML RRAs.- Parameters:
xmlRras
- the new XML RRAs
-
addRra
public void addRra(String rra)
Adds a new RRA.- Parameters:
rra
- the RRA
-
removeRra
public void removeRra(String rra)
Removes a RRA.- Parameters:
rra
- the RRA
-
compareTo
public int compareTo(XmlRrd obj)
- Specified by:
compareTo
in interfaceComparable<XmlRrd>
-
-