public class AbstractPackageAttribute extends AbstractParameterizedAttribute implements PackageAttribute, Serializable
Modifier and Type | Field and Description |
---|---|
protected 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.
|
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
protected VersionRange versionRange
public String getPackageName()
PackageAttribute
getPackageName
in interface PackageAttribute
public VersionRange getVersion()
VersionRangeAttribute
getVersion
in interface VersionRangeAttribute
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.