Class AbstractControl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger logger
      Logger for this class.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractControl​(java.lang.String id)
      Creates a new abstract control.
      AbstractControl​(java.lang.String id, boolean b)
      Creates a new abstract control.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      boolean getCriticality()
      Returns whether the control is critical.
      java.lang.String getOID()
      Returns the OID for this control.
      abstract int hashCode()
      Returns the hash code for this object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
        Logger for this class.
    • Constructor Detail

      • AbstractControl

        public AbstractControl​(java.lang.String id)
        Creates a new abstract control.
        Parameters:
        id - OID of this control
      • AbstractControl

        public AbstractControl​(java.lang.String id,
                               boolean b)
        Creates a new abstract control.
        Parameters:
        id - OID of this control
        b - whether this control is critical
    • Method Detail

      • getOID

        public java.lang.String getOID()
        Description copied from interface: Control
        Returns the OID for this control.
        Specified by:
        getOID in interface Control
        Returns:
        oid
      • getCriticality

        public boolean getCriticality()
        Description copied from interface: Control
        Returns whether the control is critical.
        Specified by:
        getCriticality in interface Control
        Returns:
        whether the control is critical
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public abstract int hashCode()
        Returns the hash code for this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash code