Class XmlRrd

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<XmlRrd>

    public class XmlRrd
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<XmlRrd>, java.lang.Cloneable
    The Class XmlRrd.
    Author:
    Alejandro Galue
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlRrd()
      Instantiates a new XML RRD.
      XmlRrd​(XmlRrd copy)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRra​(java.lang.String rra)
      Adds a new RRA.
      XmlRrd clone()  
      int compareTo​(XmlRrd obj)  
      boolean equals​(java.lang.Object obj)  
      java.lang.Integer getStep()
      Gets the step.
      java.util.List<java.lang.String> getXmlRras()
      Gets the XML RRAs.
      void removeRra​(java.lang.String rra)
      Removes a RRA.
      void setStep​(java.lang.Integer step)
      Sets the step.
      void setXmlRras​(java.util.List<java.lang.String> xmlRras)
      Sets the XML RRAs.
      • Methods inherited from class java.lang.Object

        finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlRrd

        public XmlRrd()
        Instantiates a new XML RRD.
      • XmlRrd

        public XmlRrd​(XmlRrd copy)
    • Method Detail

      • getStep

        public java.lang.Integer getStep()
        Gets the step.
        Returns:
        the step
      • setStep

        public void setStep​(java.lang.Integer step)
        Sets the step.
        Parameters:
        step - the new step
      • getXmlRras

        public java.util.List<java.lang.String> getXmlRras()
        Gets the XML RRAs.
        Returns:
        the XML RRAs
      • setXmlRras

        public void setXmlRras​(java.util.List<java.lang.String> xmlRras)
        Sets the XML RRAs.
        Parameters:
        xmlRras - the new XML RRAs
      • addRra

        public void addRra​(java.lang.String rra)
        Adds a new RRA.
        Parameters:
        rra - the RRA
      • removeRra

        public void removeRra​(java.lang.String rra)
        Removes a RRA.
        Parameters:
        rra - the RRA
      • compareTo

        public int compareTo​(XmlRrd obj)
        Specified by:
        compareTo in interface java.lang.Comparable<XmlRrd>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • clone

        public XmlRrd clone()
        Overrides:
        clone in class java.lang.Object