Class ManagedInterface

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String address  
      protected int nodeid  
      protected java.util.List<ManagedService> services  
      protected java.lang.String status  
    • Constructor Summary

      Constructors 
      Constructor Description
      ManagedInterface()
      Constructor for ManagedInterface.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addService​(ManagedService newService)
      addService
      java.lang.String getAddress()
      Getter for the field address.
      int getNodeid()
      Getter for the field nodeid.
      int getServiceCount()
      getServiceCount
      java.util.List<ManagedService> getServices()
      Getter for the field services.
      java.lang.String getStatus()
      Getter for the field status.
      void setAddress​(java.lang.String newAddress)
      Setter for the field address.
      void setNodeid​(int id)
      Setter for the field nodeid.
      void setStatus​(java.lang.String newStatus)
      Setter for the field status.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • address

        protected java.lang.String address
      • status

        protected java.lang.String status
      • nodeid

        protected int nodeid
    • Constructor Detail

      • ManagedInterface

        public ManagedInterface()

        Constructor for ManagedInterface.

    • Method Detail

      • setAddress

        public void setAddress​(java.lang.String newAddress)

        Setter for the field address.

        Parameters:
        newAddress - a String object.
      • getAddress

        public java.lang.String getAddress()

        Getter for the field address.

        Returns:
        a String object.
      • getServices

        public java.util.List<ManagedService> getServices()

        Getter for the field services.

        Returns:
        a List object.
      • getServiceCount

        public int getServiceCount()

        getServiceCount

        Returns:
        a int.
      • setNodeid

        public void setNodeid​(int id)

        Setter for the field nodeid.

        Parameters:
        id - a int.
      • getNodeid

        public int getNodeid()

        Getter for the field nodeid.

        Returns:
        a int.
      • setStatus

        public void setStatus​(java.lang.String newStatus)

        Setter for the field status.

        Parameters:
        newStatus - a String object.
      • getStatus

        public java.lang.String getStatus()

        Getter for the field status.

        Returns:
        a String object.