|
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
ProductionRule 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 |
addReceiveMessage(IGenericMessage newReceiveMessage)
Add a receiveMessage to this ProductionRule. |
void |
addReceiveMessages(Collection receiveMessages)
Add a collection of receiveMessages to this ProductionRule. |
void |
addSendMessage(IGenericMessage newSendMessage)
Add a sendMessage to this ProductionRule. |
void |
addSendMessages(Collection sendMessages)
Add a collection of sendMessages to this ProductionRule. |
void |
clearCauseTime()
Clear the causeTime from this ProductionRule. |
void |
clearDescription()
Clear the description from this ProductionRule. |
void |
clearId()
Remove the id attribute from this ProductionRule. |
void |
clearReceiveMessages()
Remove all receiveMessages from this ProductionRule. |
void |
clearSendMessages()
Remove all sendMessages from this ProductionRule. |
Collection |
getAllReceiveMessages()
Get all the receiveMessages from this ProductionRule. |
Collection |
getAllSendMessages()
Get all the sendMessages from this ProductionRule. |
ICauseTime |
getCauseTime()
Get the causeTime from this ProductionRule. |
IDescription |
getDescription()
Get the description from this ProductionRule. |
String |
getId()
Get the id attribute from this ProductionRule. |
IGenericMessage |
getReceiveMessage(String id)
Gets the receiveMessage from this ProductionRule with the given id. |
Collection |
getReceiveMessages(Collection ids)
Gets the receiveMessages from this ProductionRule with the given ids. |
IGenericMessage |
getSendMessage(String id)
Gets the sendMessage from this ProductionRule with the given id. |
Collection |
getSendMessages(Collection ids)
Gets the sendMessages from this ProductionRule with the given ids. |
boolean |
hasAllReceiveMessages(Collection receiveMessagesToCheck)
Determine if this ProductionRule contains each element in the given set of receiveMessages. |
boolean |
hasAllSendMessages(Collection sendMessagesToCheck)
Determine if this ProductionRule contains each element in the given set of sendMessages. |
boolean |
hasCauseTime(ICauseTime causeTimeToCheck)
Determine if this ProductionRule has the given causeTime |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this ProductionRule has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this ProductionRule has the given value. |
boolean |
hasReceiveMessage(IGenericMessage receiveMessageToCheck)
Determine if this ProductionRule contains a given receiveMessage. |
Collection |
hasReceiveMessages(Collection receiveMessagesToCheck)
Determine if this ProductionRule contains the given set of receiveMessages. |
boolean |
hasSendMessage(IGenericMessage sendMessageToCheck)
Determine if this ProductionRule contains a given sendMessage. |
Collection |
hasSendMessages(Collection sendMessagesToCheck)
Determine if this ProductionRule contains the given set of sendMessages. |
boolean |
isEqual(IProductionRule ProductionRuleToCheck)
Determine if another ProductionRule has the same id as this one. |
boolean |
isEquivalent(IProductionRule ProductionRuleToCheck)
Determine if another ProductionRule is equivalent to this one, ignoring ID's. |
void |
removeReceiveMessage(IGenericMessage receiveMessageToRemove)
Remove the given receiveMessage from this ProductionRule. |
void |
removeReceiveMessages(Collection receiveMessages)
Remove all the given receiveMessages from this ProductionRule. |
void |
removeSendMessage(IGenericMessage sendMessageToRemove)
Remove the given sendMessage from this ProductionRule. |
void |
removeSendMessages(Collection sendMessages)
Remove all the given sendMessages from this ProductionRule. |
void |
setCauseTime(ICauseTime value)
Set the causeTime for this ProductionRule. |
void |
setDescription(IDescription value)
Set the description for this ProductionRule. |
void |
setId(String id)
Set the id attribute on this ProductionRule. |
| 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 setId(String id)
id - id
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearId()
public String getId()
public boolean hasId(String id)
id - Attribute value to compare
true if they match; false
otherwise.public void setDescription(IDescription value)
value - new descriptionpublic void clearDescription()
public IDescription getDescription()
public boolean hasDescription(IDescription descriptionToCheck)
descriptionToCheck - description to compare
true if the descriptions are equivalent,
false otherwisepublic void addReceiveMessage(IGenericMessage newReceiveMessage)
newReceiveMessage - receiveMessage to add.public void addReceiveMessages(Collection receiveMessages)
receiveMessages - receiveMessages to add.public void clearReceiveMessages()
public void removeReceiveMessage(IGenericMessage receiveMessageToRemove)
isEquivalent(...) function.
receiveMessageToRemove - receiveMessage to remove.public void removeReceiveMessages(Collection receiveMessages)
isEquivalent(...) function.
receiveMessages - receiveMessage to remove.public Collection getAllReceiveMessages()
public boolean hasReceiveMessage(IGenericMessage receiveMessageToCheck)
true if this ProductionRule contains the given
receiveMessageToCheck, false otherwise.public Collection hasReceiveMessages(Collection receiveMessagesToCheck)
receiveMessagesToCheck - receiveMessages to check for.
java.lang.Boolean. If the ith
element in receiveMessages 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 hasAllReceiveMessages(Collection receiveMessagesToCheck)
receiveMessagesToCheck - receiveMessages to check for.
true if every element in
receiveMessages is found in this ProductionRule,
false otherwise.public IGenericMessage getReceiveMessage(String id)
id - ID to look for.
null if not found.public Collection getReceiveMessages(Collection ids)
ids - ID to look for.
public void addSendMessage(IGenericMessage newSendMessage)
newSendMessage - sendMessage to add.public void addSendMessages(Collection sendMessages)
sendMessages - sendMessages to add.public void clearSendMessages()
public void removeSendMessage(IGenericMessage sendMessageToRemove)
isEquivalent(...) function.
sendMessageToRemove - sendMessage to remove.public void removeSendMessages(Collection sendMessages)
isEquivalent(...) function.
sendMessages - sendMessage to remove.public Collection getAllSendMessages()
public boolean hasSendMessage(IGenericMessage sendMessageToCheck)
true if this ProductionRule contains the given
sendMessageToCheck, false otherwise.public Collection hasSendMessages(Collection sendMessagesToCheck)
sendMessagesToCheck - sendMessages to check for.
java.lang.Boolean. If the ith
element in sendMessages 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 hasAllSendMessages(Collection sendMessagesToCheck)
sendMessagesToCheck - sendMessages to check for.
true if every element in
sendMessages is found in this ProductionRule,
false otherwise.public IGenericMessage getSendMessage(String id)
id - ID to look for.
null if not found.public Collection getSendMessages(Collection ids)
ids - ID to look for.
public void setCauseTime(ICauseTime value)
value - new causeTimepublic void clearCauseTime()
public ICauseTime getCauseTime()
public boolean hasCauseTime(ICauseTime causeTimeToCheck)
causeTimeToCheck - causeTime to compare
true if the causeTimes are equivalent,
false otherwisepublic boolean isEqual(IProductionRule ProductionRuleToCheck)
ProductionRuleToCheck - ProductionRule to compare with this
one.public boolean isEquivalent(IProductionRule ProductionRuleToCheck)
ProductionRuleToCheck - ProductionRule to compare to this one.
true if all the child elements of this
ProductionRule 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 | |||||||||