public class RoleInstantiation extends ModelObject
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
RoleInstantiation()
This is the default constructor.
|
RoleInstantiation(RoleInstantiation role)
This is the copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias()
This method returns the alias of the role.
|
String |
getName()
This method returns the name of the role.
|
int |
hashCode() |
void |
setAlias(String alias)
This method sets the alias of the role.
|
void |
setName(String name)
This method sets the name of the role.
|
String |
toString() |
void |
toText(StringBuffer buf,
int level)
This method generates a text representation of the protocol component.
|
void |
visit(Visitor visitor)
This method visits the model object using the supplied
visitor.
|
derivedFrom, getModule, getParent, getParent, getProperties, indent, setParentpublic RoleInstantiation()
public RoleInstantiation(RoleInstantiation role)
role - The rolepublic String getName()
public void setName(String name)
name - The namepublic String getAlias()
public void setAlias(String alias)
alias - The aliaspublic void visit(Visitor visitor)
visit in class ModelObjectvisitor - The visitorpublic void toText(StringBuffer buf, int level)
toText in class ModelObjectbuf - The text bufferlevel - The indentation level, if relevantCopyright © 2014. All Rights Reserved.