net.sourceforge.osgi.deployment.maven.container
Class DeploymentPackageInfo

java.lang.Object
  extended by net.sourceforge.osgi.deployment.maven.container.DeploymentPackageInfo

public class DeploymentPackageInfo
extends java.lang.Object

This class represents a Deployment-Package and stores some information about it.

The resources if a Deployment-Package are categorized in three groups:

Author:
Siamak Haschemi, haschemi@informatik.hu-berlin.de

Constructor Summary
DeploymentPackageInfo()
          A constructor which initializes an instance of a DeploymentPackageInfo.
 
Method Summary
 java.lang.String getBundleLocalization()
           
 java.util.List<BundleResource> getBundleResources()
          Resources can be Bundle-, Localization- or Processed-Resources.
 java.lang.String getContactAddress()
           
 java.lang.String getCopyright()
           
 java.lang.String getDescription()
           
 java.lang.String getDocURL()
           
 java.lang.String getFixPack()
           
 java.util.List<ProcessedResource> getLocalizationResources()
          Resources can be Bundle-, Localization- or Processed-Resources.
 java.util.List<ProcessedResource> getProcessedResources()
          Resources can be Bundle-, Localization- or Processed-Resources.
 java.util.List<IResource> getResources()
           
 java.lang.String getSymbolicName()
           
 java.lang.String getVendor()
           
 java.lang.String getVersion()
           
 void setBundleLocalization(java.lang.String p_bundleLocalization)
           
 void setContactAddress(java.lang.String p_contactAddress)
           
 void setCopyright(java.lang.String p_copyright)
           
 void setDescription(java.lang.String p_description)
           
 void setDocURL(java.lang.String p_docURL)
           
 void setFixPack(java.lang.String p_fixPack)
           
 void setResources(java.util.List<IResource> p_resources)
           
 void setSymbolicName(java.lang.String p_symbolicName)
           
 void setVendor(java.lang.String p_vendor)
           
 void setVersion(java.lang.String p_version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentPackageInfo

public DeploymentPackageInfo()
A constructor which initializes an instance of a DeploymentPackageInfo.

Method Detail

getDescription

public final java.lang.String getDescription()
Returns:
the description

setDescription

public final void setDescription(java.lang.String p_description)
Parameters:
p_description - the description to set

getVersion

public final java.lang.String getVersion()
Returns:
the version

setVersion

public final void setVersion(java.lang.String p_version)
Parameters:
p_version - the version to set

getCopyright

public final java.lang.String getCopyright()
Returns:
the copyright

setCopyright

public final void setCopyright(java.lang.String p_copyright)
Parameters:
p_copyright - the copyright to set

getContactAddress

public final java.lang.String getContactAddress()
Returns:
the contactAddress

setContactAddress

public final void setContactAddress(java.lang.String p_contactAddress)
Parameters:
p_contactAddress - the contactAddress to set

getDocURL

public final java.lang.String getDocURL()
Returns:
the docURL

setDocURL

public final void setDocURL(java.lang.String p_docURL)
Parameters:
p_docURL - the docURL to set

getVendor

public final java.lang.String getVendor()
Returns:
the vendor

setVendor

public final void setVendor(java.lang.String p_vendor)
Parameters:
p_vendor - the vendor to set

getFixPack

public final java.lang.String getFixPack()
Returns:
the fixPack

setFixPack

public final void setFixPack(java.lang.String p_fixPack)
Parameters:
p_fixPack - the fixPack to set

getResources

public final java.util.List<IResource> getResources()
Returns:
the resources

setResources

public final void setResources(java.util.List<IResource> p_resources)
Parameters:
p_resources - the resources to set

getSymbolicName

public final java.lang.String getSymbolicName()
Returns:
the symbolicName

setSymbolicName

public final void setSymbolicName(java.lang.String p_symbolicName)
Parameters:
p_symbolicName - the symbolicName to set

getBundleLocalization

public final java.lang.String getBundleLocalization()
Returns:
the bundleLocalization

setBundleLocalization

public final void setBundleLocalization(java.lang.String p_bundleLocalization)
Parameters:
p_bundleLocalization - the bundleLocalization to set

getBundleResources

public final java.util.List<BundleResource> getBundleResources()
Resources can be Bundle-, Localization- or Processed-Resources. This method filters the whole resource list and returns only Bundle-Resources.

Returns:
A filtered resource list where only Bundle-Resources are contained.

getProcessedResources

public final java.util.List<ProcessedResource> getProcessedResources()
Resources can be Bundle-, Localization- or Processed-Resources. This method filters the whole resource list and returns only Processed-Resources.

Returns:
A filtered resource list where only Processed-Resources are contained.

getLocalizationResources

public final java.util.List<ProcessedResource> getLocalizationResources()
Resources can be Bundle-, Localization- or Processed-Resources. This method filters the whole resource list and returns only Localization-Resources.

Returns:
A filtered resource list where only Localization-Resources are contained.


Copyright © 2008 Humboldt University Berlin. All Rights Reserved.