Class EntitlementConditionAdaptor

    • Constructor Detail

      • EntitlementConditionAdaptor

        public EntitlementConditionAdaptor()
    • Method Detail

      • init

        public void init​(Map<String,​Set<String>> parameters)
        Initializes the condition object.
        Specified by:
        init in interface EntitlementCondition
        Parameters:
        parameters - Parameters for initializing the condition.
      • setState

        protected void setState​(org.json.JSONObject jo)
      • toJSONObject

        protected void toJSONObject​(org.json.JSONObject jo)
                             throws org.json.JSONException
        Throws:
        org.json.JSONException
      • equals

        public boolean equals​(Object obj)
        Returns true if the passed in object is equal to this object
        Overrides:
        equals in class Object
        Parameters:
        obj - object to check for equality
        Returns:
        true if the passed in object is equal to this object
      • hashCode

        public int hashCode()
        Returns hash code of the object.
        Overrides:
        hashCode in class Object
        Returns:
        hash code of the object.