public class AbstractPackageAttribute extends AbstractParameterizedAttribute implements PackageAttribute, Serializable
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.VersionRange |
versionRange |
attributes, directives
attribute
Constructor and Description |
---|
AbstractPackageAttribute(String packageName,
Map<String,Parameter> attributes,
Map<String,Parameter> directives) |
Modifier and Type | Method and Description |
---|---|
String |
getPackageName()
Get the package name.
|
org.osgi.framework.VersionRange |
getVersion()
Get the version range.
|
getAttribute, getAttributes, getAttributeValue, getAttributeValue, getDirective, getDirectives, getDirectiveValue, getDirectiveValue, toString
getAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getAttributes, getAttributeValue, getAttributeValue, getDirective, getDirectives, getDirectiveValue, getDirectiveValue
getAttribute
public String getPackageName()
PackageAttribute
getPackageName
in interface PackageAttribute
public org.osgi.framework.VersionRange getVersion()
VersionRangeAttribute
getVersion
in interface VersionRangeAttribute
Copyright © 2013 JBoss by Red Hat. All rights reserved.