|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cafesoft.cams.attr.StandardAttributeCondition
public class StandardAttributeCondition
StandardAttributeCondition implements the
AttributeCondition interface, which contains a disjunctive
sequence of AttributeMatch instances for a given attribute
category. StandardAttributeCondition evaluates the enclosed
list of AttributeMatch instances and returns true if ANY
AttributeMatch returns true.
| Constructor Summary | |
|---|---|
StandardAttributeCondition(URI attrCategory)
Create a new StandardAttributeCondition instance. |
|
| Method Summary | |
|---|---|
URI |
getAttributeCategory()
Returns the attribute category of this AttributeCondition. |
List |
getAttributeMatchList()
Get the List of AttributeMatchs. |
MatchResult |
match(EvaluationContext evalContext)
Determines whether this AttributeCondition matches
the input request (whether it is applicable) |
void |
setAttributeMatchList(List attrMatchList)
Set the List of AttributeMatchs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardAttributeCondition(URI attrCategory)
throws IllegalArgumentException
StandardAttributeCondition instance.
attrCategory - the attribute category.
IllegalArgumentException - if the attribute category is null
or does not start with the required namespace.| Method Detail |
|---|
public URI getAttributeCategory()
AttributeCondition.
getAttributeCategory in interface AttributeConditionpublic void setAttributeMatchList(List attrMatchList)
AttributeMatchs.
setAttributeMatchList in interface AttributeConditionattrMatchList - the List of AttributeMatchs.
IllegalArgumentException - if the List contains an object
that does not implement AttributeMatch or it does
not have the same attribute category as this AttributeCondition.public List getAttributeMatchList()
AttributeMatchs.
getAttributeMatchList in interface AttributeConditionAttributeMatchs. If none, an empty
List is returned.public MatchResult match(EvaluationContext evalContext)
AttributeCondition matches
the input request (whether it is applicable)
match in interface AttributeConditionevalContext - the representation of the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||