org.jboss.modules
Class PackageSpec

java.lang.Object
  extended by org.jboss.modules.PackageSpec

public final class PackageSpec
extends Object

A specification for a package to define.

Author:
David M. Lloyd

Constructor Summary
PackageSpec()
           
 
Method Summary
 AssertionSetting getAssertionSetting()
          Get the package assertion setting.
 String getImplTitle()
          Get the implementation title.
 String getImplVendor()
          Get the implementation vendor.
 String getImplVersion()
          Get the implementation version.
 URL getSealBase()
          Get the URL against which this package is sealed.
 String getSpecTitle()
          Get the package specification title.
 String getSpecVendor()
          Set the package specification vendor.
 String getSpecVersion()
          Get the package specification version.
 void setAssertionSetting(AssertionSetting assertionSetting)
          Set the package assertion setting.
 void setImplTitle(String implTitle)
          Set the implementation title.
 void setImplVendor(String implVendor)
          Set the implementation vendor.
 void setImplVersion(String implVersion)
          Set the implementation version.
 void setSealBase(URL sealBase)
          Set the URL against which this package is sealed.
 void setSpecTitle(String specTitle)
          Set the package specification title.
 void setSpecVendor(String specVendor)
          Set the package specification vendor.
 void setSpecVersion(String specVersion)
          Set the package specification version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageSpec

public PackageSpec()
Method Detail

getSpecTitle

public String getSpecTitle()
Get the package specification title.

Returns:
the specification title
See Also:
Attributes.Name.SPECIFICATION_TITLE

setSpecTitle

public void setSpecTitle(String specTitle)
Set the package specification title.

Parameters:
specTitle - the specification title
See Also:
Attributes.Name.SPECIFICATION_TITLE

getSpecVersion

public String getSpecVersion()
Get the package specification version.

Returns:
the specification version
See Also:
Attributes.Name.SPECIFICATION_VERSION

setSpecVersion

public void setSpecVersion(String specVersion)
Set the package specification version.

Parameters:
specVersion - the specification version
See Also:
Attributes.Name.SPECIFICATION_VERSION

getSpecVendor

public String getSpecVendor()
Set the package specification vendor.

Returns:
the specification vendor
See Also:
Attributes.Name.SPECIFICATION_VENDOR

setSpecVendor

public void setSpecVendor(String specVendor)
Set the package specification vendor.

Parameters:
specVendor - the specification vendor
See Also:
Attributes.Name.SPECIFICATION_VENDOR

getImplTitle

public String getImplTitle()
Get the implementation title.

Returns:
the implementation title
See Also:
Attributes.Name.IMPLEMENTATION_TITLE

setImplTitle

public void setImplTitle(String implTitle)
Set the implementation title.

Parameters:
implTitle - the implementation title
See Also:
Attributes.Name.IMPLEMENTATION_TITLE

getImplVersion

public String getImplVersion()
Get the implementation version.

Returns:
the implementation version
See Also:
Attributes.Name.IMPLEMENTATION_VERSION

setImplVersion

public void setImplVersion(String implVersion)
Set the implementation version.

Parameters:
implVersion - the implementation version
See Also:
Attributes.Name.IMPLEMENTATION_VENDOR

getImplVendor

public String getImplVendor()
Get the implementation vendor.

Returns:
the implementation vendor
See Also:
Attributes.Name.IMPLEMENTATION_VENDOR

setImplVendor

public void setImplVendor(String implVendor)
Set the implementation vendor.

Parameters:
implVendor - the implementation vendor
See Also:
Attributes.Name.IMPLEMENTATION_VENDOR

getSealBase

public URL getSealBase()
Get the URL against which this package is sealed.

Returns:
the seal base URL
See Also:
Attributes.Name.SEALED

setSealBase

public void setSealBase(URL sealBase)
Set the URL against which this package is sealed.

Parameters:
sealBase - the seal base URL
See Also:
Attributes.Name.SEALED

getAssertionSetting

public AssertionSetting getAssertionSetting()
Get the package assertion setting.

Returns:
the package assertion setting

setAssertionSetting

public void setAssertionSetting(AssertionSetting assertionSetting)
Set the package assertion setting.

Parameters:
assertionSetting - the package assertion setting


Copyright © 2011. All Rights Reserved.