Package com.sun.identity.entitlement
Class EntitlementConditionAdaptor
- java.lang.Object
-
- com.sun.identity.entitlement.EntitlementConditionAdaptor
-
- All Implemented Interfaces:
EntitlementCondition
- Direct Known Subclasses:
AMIdentityMembershipCondition,AttributeLookupCondition,AuthenticateToRealmCondition,AuthenticateToServiceCondition,AuthLevelCondition,AuthSchemeCondition,IPv4Condition,IPv6Condition,LDAPFilterCondition,LogicalCondition,NumericAttributeCondition,OAuth2ScopeCondition,PolicyCondition,ResourceEnvIPCondition,ScriptCondition,SessionCondition,SessionPropertyCondition,SimpleTimeCondition,StringAttributeCondition
public abstract class EntitlementConditionAdaptor extends Object implements EntitlementCondition
-
-
Constructor Summary
Constructors Constructor Description EntitlementConditionAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Returnstrueif the passed in object is equal to this objectStringgetDisplayType()Returns display type.inthashCode()Returns hash code of the object.voidinit(Map<String,Set<String>> parameters)Initializes the condition object.voidsetDisplayType(String displayType)Sets display type.protected voidsetState(org.json.JSONObject jo)protected voidtoJSONObject(org.json.JSONObject jo)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.entitlement.EntitlementCondition
evaluate, getState, setState, validate
-
-
-
-
Method Detail
-
setDisplayType
public void setDisplayType(String displayType)
Sets display type.- Specified by:
setDisplayTypein interfaceEntitlementCondition- Parameters:
displayType- Display Type.
-
getDisplayType
public String getDisplayType()
Returns display type.- Specified by:
getDisplayTypein interfaceEntitlementCondition- Returns:
- Display Type.
-
init
public void init(Map<String,Set<String>> parameters)
Initializes the condition object.- Specified by:
initin interfaceEntitlementCondition- 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)
Returnstrueif the passed in object is equal to this object
-
-