|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.oblig.StandardObligation
Standard implementation of the Obligation.
Obligation| Constructor Summary | |
StandardObligation(URI id,
String desc,
AttributeSet attrSet)
Create a new StandardObligation object. |
|
StandardObligation(URI id,
String desc,
List evalResultMatchList,
List effectMatchList,
AttributeSet attrSet)
Create a new StandardObligation object. |
|
| Method Summary | |
int |
getAttributeCount()
Get the number of attributes. |
AttributeSet |
getAttributes()
Get the attributes. |
String |
getDescription()
Get the obligation description. |
URI |
getId()
Get the obligation identifier. |
boolean |
matches(Effect effect)
Determine if this Obligation matches a given Effect. |
boolean |
matches(EvaluationResult evalResult)
Determine if this Obligation matches a given security component evaluation result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardObligation(URI id,
String desc,
AttributeSet attrSet)
id - the id of the new Obligation.desc - the description of the new Obligation.attrSet - a set of Attributes.
public StandardObligation(URI id,
String desc,
List evalResultMatchList,
List effectMatchList,
AttributeSet attrSet)
id - the id of the new Obligation.desc - the description of the new Obligation.evalResultMatchList - a List of EvaluationResultMatch objects.effectMatchList - a List of EffectMatch objects.attrSet - a set of Attributes.| Method Detail |
public URI getId()
getId in interface Obligationpublic String getDescription()
getDescription in interface Obligationpublic int getAttributeCount()
getAttributeCount in interface Obligationpublic AttributeSet getAttributes()
getAttributes in interface Obligationpublic boolean matches(EvaluationResult evalResult)
matches in interface ObligationevalResult - the EvaluationResult.
public boolean matches(Effect effect)
matches in interface Obligationeffect - the Effect to be matched.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||