Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.info
Class BasicPolicyRuleEntry

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.BasicPolicyRuleEntry

All Implemented Interfaces:
PolicyRuleEntry

public class BasicPolicyRuleEntry
extends java.lang.Object
implements PolicyRuleEntry

A class to hold an in-memory policy rule object. For example,

 PolicyRuleEntry rule = new BaiscPolicyRuleEntry("name", "displayName", "description", PolicyRuleEntry.EffectType.GRANT, new BooleanStandardExpression(...));
 

Nested Class Summary
static class BasicPolicyRuleEntry.Properties
           

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.PolicyRuleEntry
PolicyRuleEntry.EffectType

 

Constructor Summary
BasicPolicyRuleEntry(java.lang.String name, java.lang.String displayName, java.lang.String description, PolicyRuleEntry.EffectType effect, RuleExpressionEntry<OpssBoolean> condition)
          Constructor

 

Method Summary
 boolean equals(java.lang.Object object)
           
 RuleExpressionEntry<OpssBoolean> getCondition()
          Gets condition of the rule
 java.lang.String getDescription()
          Gets description of the rule
 java.lang.String getDisplayName()
          Gets display name of the rule
 PolicyRuleEntry.EffectType getEffect()
          Gets effect of the rule
 java.lang.String getName()
          Gets name of the rule
 int hashCode()
           
 void setCondition(RuleExpressionEntry<OpssBoolean> condition)
          Sets condition of the rule
 void setDescription(java.lang.String description)
          Sets description of the rule
 void setDisplayName(java.lang.String displayName)
          Sets display name of the rule
 void setEffect(PolicyRuleEntry.EffectType effect)
          Sets effect of the rule

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.security.jps.service.policystore.info.PolicyRuleEntry
getUniqueName

 

Constructor Detail

BasicPolicyRuleEntry

public BasicPolicyRuleEntry(java.lang.String name,
                            java.lang.String displayName,
                            java.lang.String description,
                            PolicyRuleEntry.EffectType effect,
                            RuleExpressionEntry<OpssBoolean> condition)
Constructor
Parameters:
name -
displayName -
description -
effect -
condition -

Method Detail

getCondition

public RuleExpressionEntry<OpssBoolean> getCondition()
Gets condition of the rule
Specified by:
getCondition in interface PolicyRuleEntry
Returns:
condition

getEffect

public PolicyRuleEntry.EffectType getEffect()
Gets effect of the rule
Specified by:
getEffect in interface PolicyRuleEntry
Returns:
effect

setCondition

public void setCondition(RuleExpressionEntry<OpssBoolean> condition)
                  throws PolicyStoreException
Sets condition of the rule
Specified by:
setCondition in interface PolicyRuleEntry
Parameters:
condition -
Throws:
PolicyStoreException

setEffect

public void setEffect(PolicyRuleEntry.EffectType effect)
               throws PolicyStoreException
Sets effect of the rule
Specified by:
setEffect in interface PolicyRuleEntry
Parameters:
effect -
Throws:
PolicyStoreException

getName

public java.lang.String getName()
Gets name of the rule
Specified by:
getName in interface PolicyRuleEntry
Returns:
name

getDisplayName

public java.lang.String getDisplayName()
Gets display name of the rule
Specified by:
getDisplayName in interface PolicyRuleEntry
Returns:
displayName

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets display name of the rule
Specified by:
setDisplayName in interface PolicyRuleEntry
Parameters:
displayName -

getDescription

public java.lang.String getDescription()
Gets description of the rule
Specified by:
getDescription in interface PolicyRuleEntry
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets description of the rule
Specified by:
setDescription in interface PolicyRuleEntry
Parameters:
description -

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.