public class Package extends java.lang.Object implements ClassTypeContainer
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
| Constructor and Description |
|---|
Package(java.lang.String name)
Creates a new package with the given name, organized by
the given program model info.
|
| Modifier and Type | Method and Description |
|---|---|
ClassTypeContainer |
getContainer()
Returns the enclosing package or class type, or method.
|
java.lang.String |
getFullName()
Returns the name of this package.
|
java.lang.String |
getName()
Returns the name of this package.
|
Package |
getPackage()
Returns the enclosing package.
|
public Package(java.lang.String name)
name - the name of the package.public java.lang.String getName()
getName in interface NamedModelElementpublic java.lang.String getFullName()
getFullName in interface ProgramModelElementpublic ClassTypeContainer getContainer()
null.public Package getPackage()
null.