Class ObservationDescription


  • public class ObservationDescription
    extends java.lang.Object
    The observation description
    • Field Detail

      • pingdelay

        protected long pingdelay
        The delay between pings.
      • contacts

        protected ContactData[] contacts
        The contact data.
    • Constructor Detail

      • ObservationDescription

        public ObservationDescription()
        Create a new description.
    • Method Detail

      • getComponentIdentifier

        public IComponentIdentifier getComponentIdentifier()
        Get the component id.
        Returns:
        The component id;
      • setComponentIdentifier

        public void setComponentIdentifier​(IComponentIdentifier cid)
        Set the component id.
        Parameters:
        cid - The component id;
      • getPingDelay

        public long getPingDelay()
        Get the ping delay.
        Returns:
        The ping delay.
      • setPingDelay

        public void setPingDelay​(long pingdelay)
        Set the ping delay.
        Parameters:
        pingdelay - The ping delay.
      • getContacts

        public ContactData[] getContacts()
        Get the contact data.
        Returns:
        The contact data.
      • setContacts

        public void setContacts​(ContactData[] contacts)
        Set the contact data.
        Parameters:
        contacts - The contact data.
      • toString

        public java.lang.String toString()
        Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.