public class LReceive extends LActivity
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
LReceive()
The default constructor.
|
LReceive(LReceive i)
The copy constructor.
|
LReceive(Message sig,
Role fromRole)
This constructor initializes the 'from' role and message
signature.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Role |
getFromRole()
This method returns the optional 'from' role.
|
Message |
getMessage()
This method returns the message.
|
int |
hashCode() |
void |
setFromRole(Role part)
This method sets the optional 'from' role.
|
void |
setMessage(Message message)
This method sets the message.
|
String |
toString() |
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(LVisitor visitor)
This method visits the model object using the supplied
visitor.
|
derivedFrom, getModule, getParent, getParent, getProperties, indent, setParentpublic LReceive()
public LReceive(LReceive i)
i - The interaction to copypublic Message getMessage()
public void setMessage(Message message)
message - The messagepublic Role getFromRole()
public void setFromRole(Role part)
part - The optional 'from' rolepublic void visit(LVisitor visitor)
public void toText(StringBuffer buf, int level)
toText in class ModelObjectbuf - The text bufferlevel - The indentation level, if relevantCopyright © 2014. All Rights Reserved.