Class RequisitionInterface

  • All Implemented Interfaces:
    java.lang.Comparable<RequisitionInterface>

    public class RequisitionInterface
    extends java.lang.Object
    implements java.lang.Comparable<RequisitionInterface>

    RequisitionInterface class.

    • Field Detail

      • m_description

        protected java.lang.String m_description
      • m_ipAddress

        protected java.lang.String m_ipAddress
      • m_isManaged

        protected java.lang.Boolean m_isManaged
      • m_status

        protected java.lang.Integer m_status
    • Constructor Detail

      • RequisitionInterface

        public RequisitionInterface()
    • Method Detail

      • getMonitoredServiceCount

        public int getMonitoredServiceCount()

        getMonitoredServiceCount

        Returns:
        a int.
      • getMonitoredServices

        public java.util.List<RequisitionMonitoredService> getMonitoredServices()

        getMonitoredServices

        Returns:
        a List object.
      • setMonitoredServices

        public void setMonitoredServices​(java.util.List<RequisitionMonitoredService> services)

        setMonitoredServices

        Parameters:
        services - a List object.
      • deleteMonitoredService

        public void deleteMonitoredService​(java.lang.String service)

        deleteMonitoredService

        Parameters:
        service - a String object.
      • getCategories

        public java.util.List<RequisitionCategory> getCategories()

        getCategories

        Returns:
        a List object.
      • setCategories

        public void setCategories​(java.util.List<RequisitionCategory> categories)

        setCategories

        Parameters:
        categories - a List object.
      • deleteCategory

        public void deleteCategory​(java.lang.String category)

        deleteCategory

        Parameters:
        category - a String object.
      • getDescr

        public java.lang.String getDescr()

        getDescr

        Returns:
        a String object.
      • setDescr

        public void setDescr​(java.lang.String value)

        setDescr

        Parameters:
        value - a String object.
      • getIpAddr

        public java.lang.String getIpAddr()

        getIpAddr

        Returns:
        a String object.
      • setIpAddr

        public void setIpAddr​(java.lang.String value)

        setIpAddr

        Parameters:
        value - a String object.
      • isManaged

        public boolean isManaged()

        isManaged

        Returns:
        a boolean.
      • setManaged

        public void setManaged​(java.lang.Boolean value)

        setManaged

        Parameters:
        value - a Boolean object.
      • getSnmpPrimary

        public PrimaryType getSnmpPrimary()
        Deprecated.
        It's not a good idea to have side-effects on a getter, like returning a value that does not exactly reflect the internal state of the object.

        getSnmpPrimary

        Returns:
        a String object.
      • setSnmpPrimary

        public void setSnmpPrimary​(PrimaryType value)

        setSnmpPrimary

        Parameters:
        value - a String object.
      • getStatus

        public java.lang.Integer getStatus()

        getStatus

        Returns:
        a int.
      • setStatus

        public void setStatus​(java.lang.Integer value)

        setStatus

        Parameters:
        value - a Integer object.
      • validate

        public void validate()
                      throws javax.xml.bind.ValidationException
        Throws:
        javax.xml.bind.ValidationException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object