public interface Packaged<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getPackage()
Get the package of this
T, or return null if it is in the default
package. |
boolean |
isDefaultPackage()
Return whether or not this
T is in the default package. |
T |
setDefaultPackage()
Set this
T to be in the default package (removes any current
package declaration.) |
T |
setPackage(String name)
Set this
T' package. |
String getPackage()
T, or return null if it is in the default
package.T setDefaultPackage()
T to be in the default package (removes any current
package declaration.)boolean isDefaultPackage()
T is in the default package.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.