|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImportedPackage
Represents a single entry in a bundle's Import-Package header.
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Returns the value of the import's bundle-symbolic-name attribute. |
VersionRange |
getBundleVersion()
Returns the value of the import's bundle-version attribute. |
java.lang.String |
getPackageName()
Returns the name of the package that is imported, never null. |
void |
setBundleSymbolicName(java.lang.String bundleSymbolicName)
Sets the value of the import's bundle-symbolic-name attribute. |
void |
setBundleVersion(VersionRange versionRange)
Sets the value of the import's bundle-version attribute. |
void |
setPackageName(java.lang.String packageName)
Sets the name of the imported package. |
| Methods inherited from interface com.springsource.util.osgi.manifest.Imported |
|---|
getResolution, getVersion, setResolution, setVersion |
| Methods inherited from interface com.springsource.util.osgi.manifest.Parameterised |
|---|
getAttributes, getDirectives |
| Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
|---|
resetFromParseString, toParseString |
| Method Detail |
|---|
java.lang.String getPackageName()
null.
void setPackageName(java.lang.String packageName)
packageName - the imported package's nameVersionRange getBundleVersion()
bundle-version attribute. If no such attribute is specified
the default version range of [0, infinity) is returned.
bundle-version attribute.void setBundleVersion(VersionRange versionRange)
bundle-version attribute.
versionRange - the value of the bundle-version attribute.java.lang.String getBundleSymbolicName()
bundle-symbolic-name attribute. If no such attribute is
specified null is returned.
bundle-symbolic-name attribute.void setBundleSymbolicName(java.lang.String bundleSymbolicName)
bundle-symbolic-name attribute.
bundleSymbolicName - the value of the bundle-symbolic-name attribute.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||