|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
MessageCausalitySpecification xsi:type in the
messages namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addRule(IXMLLink newRule)
Add a rule to this MessageCausalitySpecification. |
void |
addRules(Collection rules)
Add a collection of rules to this MessageCausalitySpecification. |
void |
clearRules()
Remove all rules from this MessageCausalitySpecification. |
Collection |
getAllRules()
Get all the rules from this MessageCausalitySpecification. |
boolean |
hasAllRules(Collection rulesToCheck)
Determine if this MessageCausalitySpecification contains each element in the given set of rules. |
boolean |
hasRule(IXMLLink ruleToCheck)
Determine if this MessageCausalitySpecification contains a given rule. |
Collection |
hasRules(Collection rulesToCheck)
Determine if this MessageCausalitySpecification contains the given set of rules. |
boolean |
isEquivalent(IMessageCausalitySpecification MessageCausalitySpecificationToCheck)
Determine if another MessageCausalitySpecification is equivalent to this one, ignoring ID's. |
void |
removeRule(IXMLLink ruleToRemove)
Remove the given rule from this MessageCausalitySpecification. |
void |
removeRules(Collection rules)
Remove all the given rules from this MessageCausalitySpecification. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void addRule(IXMLLink newRule)
newRule - rule to add.public void addRules(Collection rules)
rules - rules to add.public void clearRules()
public void removeRule(IXMLLink ruleToRemove)
isEquivalent(...) function.
ruleToRemove - rule to remove.public void removeRules(Collection rules)
isEquivalent(...) function.
rules - rule to remove.public Collection getAllRules()
public boolean hasRule(IXMLLink ruleToCheck)
true if this MessageCausalitySpecification contains the given
ruleToCheck, false otherwise.public Collection hasRules(Collection rulesToCheck)
rulesToCheck - rules to check for.
java.lang.Boolean. If the ith
element in rules was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllRules(Collection rulesToCheck)
rulesToCheck - rules to check for.
true if every element in
rules is found in this MessageCausalitySpecification,
false otherwise.public boolean isEquivalent(IMessageCausalitySpecification MessageCausalitySpecificationToCheck)
MessageCausalitySpecificationToCheck - MessageCausalitySpecification to compare to this one.
true if all the child elements of this
MessageCausalitySpecification are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||