org.norther.tammi.core.info
Interface PackageInfo

All Known Implementing Classes:
DefaultPackageInfo

public interface PackageInfo

An interface to package infos.

Author:
Ilkka Priha

Method Summary
 String getImplementationTitle()
          Gets the implementation title of the current package.
 String getImplementationTitle(String packageName)
          Gets the implementation title of the specified package.
 String getImplementationVendor()
          Gets the implementation vendor of the current package.
 String getImplementationVendor(String packageName)
          Gets the implementation vendor of the specified package.
 String getImplementationVersion()
          Gets the implementation version of the current package.
 String getImplementationVersion(String packageName)
          Gets the implementation version of the specified package.
 String getPackageName()
          Gets the name of the current package.
 String getPackageSpecification()
          Gets the package specification.
 String getSpecificationTitle()
          Gets the specification title of the current package.
 String getSpecificationTitle(String packageName)
          Gets the specification title of the specified package.
 String getSpecificationVendor()
          Gets the specification vendor of the current package.
 String getSpecificationVendor(String packageName)
          Gets the specification vendor of the specified package.
 String getSpecificationVersion()
          Gets the specification version of the current package.
 String getSpecificationVersion(String packageName)
          Gets the implementation title of the specified package.
 boolean isCompatibleWith(String desired)
          Compares the specification version of the package.
 boolean isSealed()
          Checks whether the package is sealed.
 List packageList()
          Returns a list of all packages.
 

Method Detail

getPackageName

String getPackageName()
Gets the name of the current package.

Returns:
the name of the current package.

getImplementationTitle

String getImplementationTitle()
Gets the implementation title of the current package.

Returns:
the implementation title.

getImplementationVendor

String getImplementationVendor()
Gets the implementation vendor of the current package.

Returns:
the implementation vendor.

getImplementationVersion

String getImplementationVersion()
Gets the implementation version of the current package.

Returns:
the implementation version.

getSpecificationTitle

String getSpecificationTitle()
Gets the specification title of the current package.

Returns:
the specification title.

getSpecificationVendor

String getSpecificationVendor()
Gets the specification vendor of the current package.

Returns:
the specification vendor.

getSpecificationVersion

String getSpecificationVersion()
Gets the specification version of the current package.

Returns:
the specification version.

getPackageSpecification

String getPackageSpecification()
Gets the package specification.

Returns:
the package specification.

isSealed

boolean isSealed()
Checks whether the package is sealed.

Returns:
true, if sealed.

isCompatibleWith

boolean isCompatibleWith(String desired)
Compares the specification version of the package.

Parameters:
desired - the desired version.
Returns:
true, if compatible.

getImplementationTitle

String getImplementationTitle(String packageName)
Gets the implementation title of the specified package.

Parameters:
packageName - the package name.
Returns:
the implementation title.

getImplementationVendor

String getImplementationVendor(String packageName)
Gets the implementation vendor of the specified package.

Parameters:
packageName - the package name.
Returns:
the implementation vendor.

getImplementationVersion

String getImplementationVersion(String packageName)
Gets the implementation version of the specified package.

Parameters:
packageName - the package name.
Returns:
the implementation version.

getSpecificationTitle

String getSpecificationTitle(String packageName)
Gets the specification title of the specified package.

Parameters:
packageName - the package name.
Returns:
the specification title.

getSpecificationVendor

String getSpecificationVendor(String packageName)
Gets the specification vendor of the specified package.

Parameters:
packageName - the package name.
Returns:
the specification vendor.

getSpecificationVersion

String getSpecificationVersion(String packageName)
Gets the implementation title of the specified package.

Parameters:
packageName - the package name.
Returns:
the implementation title.

packageList

List packageList()
Returns a list of all packages.

Returns:
a list of packages.


Copyright © 2004 The Norther Organization. All rights reserved.