org.apache.aries.application.modelling
Interface ImportedPackage

All Superinterfaces:
Consumer, DeploymentMFElement

public interface ImportedPackage
extends Consumer, DeploymentMFElement

Model an imported package.


Method Summary
 Map<String,String> getAttributes()
          All attributes specified in the import package header
 String getPackageName()
          The imported package name
 String getVersionRange()
          The imported package version
 
Methods inherited from interface org.apache.aries.application.modelling.Consumer
getAttributeFilter, getType, isMultiple, isOptional, isSatisfied
 
Methods inherited from interface org.apache.aries.application.modelling.DeploymentMFElement
toDeploymentString
 

Method Detail

getPackageName

String getPackageName()
The imported package name

Returns:
the package name

getVersionRange

String getVersionRange()
The imported package version

Returns:
the version range as a string.

getAttributes

Map<String,String> getAttributes()
All attributes specified in the import package header

Returns:
the map containing the attributes.


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.