public class ImportDecl extends ModelObject
END_COLUMN, END_LINE, END_POSITION, RESOURCE_URL, START_COLUMN, START_LINE, START_POSITION| Constructor and Description |
|---|
ImportDecl()
The default constructor.
|
ImportDecl(ImportDecl copy)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
This method returns the optional alias.
|
String |
getDeclarationName()
This method returns the declaration name.
|
String |
getMemberName()
This method returns the name of the
member being imported.
|
String |
getModuleName()
This method returns the optional module name.
|
void |
setAlias(String alias)
This method sets the optional alias.
|
void |
setMemberName(String name)
This method sets the name of the
member being imported.
|
void |
setModuleName(String module)
This method sets the optional module name.
|
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 ImportDecl()
public ImportDecl(ImportDecl copy)
copy - The copypublic String getModuleName()
public void setModuleName(String module)
module - The optional module namepublic String getMemberName()
public void setMemberName(String name)
name - The member namepublic String getAlias()
public void setAlias(String alias)
alias - The optionalaliaspublic String getDeclarationName()
public 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.