Top Description Fields Constructors Methods
org.jboss.modules

public final Class PackageSpec

extends Object
Class Inheritance
Imports
java.net.URL

A specification for a package to define.
Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private AssertionSetting
private String
private String
private String
private URL
private String
private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AssertionSetting

Returns:

the package assertion setting
getAssertionSetting
()

Get the package assertion setting.

public String

Returns:

the implementation title
getImplTitle
()

Get the implementation title.

public String

Returns:

the implementation vendor
getImplVendor
()

Get the implementation vendor.

public String

Returns:

the implementation version
getImplVersion
()

Get the implementation version.

public URL

Returns:

the seal base URL
getSealBase
()

Get the URL against which this package is sealed.

public String

Returns:

the specification title
getSpecTitle
()

Get the package specification title.

public String

Returns:

the specification vendor
getSpecVendor
()

Set the package specification vendor.

public String

Returns:

the specification version
getSpecVersion
()

Get the package specification version.

public PackageSpec
setAssertionSetting(AssertionSetting
the package assertion setting
assertionSetting
)

Set the package assertion setting.

public void
public PackageSpec
setImplTitle(String
the implementation title
implTitle
)

Set the implementation title.

public void
public PackageSpec
setImplVendor(String
the implementation vendor
implVendor
)

Set the implementation vendor.

public void
public PackageSpec
setImplVersion(String
the implementation version
implVersion
)

Set the implementation version.

public void
public void
setSealBase(URL
the seal base URL
sealBase
)

Set the URL against which this package is sealed.

public PackageSpec
setSpecTitle(String
the specification title
specTitle
)

Set the package specification title.

public void
public PackageSpec
setSpecVendor(String
the specification vendor
specVendor
)

Set the package specification vendor.

public void
public PackageSpec
setSpecVersion(String
the specification version
specVersion
)

Set the package specification version.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

assertionSettingback to summary
private AssertionSetting assertionSetting
implTitleback to summary
private String implTitle
implVendorback to summary
private String implVendor
implVersionback to summary
private String implVersion
sealBaseback to summary
private URL sealBase
specTitleback to summary
private String specTitle
specVendorback to summary
private String specVendor
specVersionback to summary
private String specVersion

Constructor Detail

PackageSpecback to summary
public PackageSpec()

Method Detail

getAssertionSettingback to summary
public AssertionSetting getAssertionSetting()

Get the package assertion setting.

Returns:AssertionSetting

the package assertion setting

getImplTitleback to summary
public String getImplTitle()

Get the implementation title.

Returns:String

the implementation title

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_TITLE
getImplVendorback to summary
public String getImplVendor()

Get the implementation vendor.

Returns:String

the implementation vendor

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_VENDOR
getImplVersionback to summary
public String getImplVersion()

Get the implementation version.

Returns:String

the implementation version

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_VERSION
getSealBaseback to summary
public URL getSealBase()

Get the URL against which this package is sealed.

Returns:URL

the seal base URL

See Also
java.util.jar.Attributes.Name#SEALED
getSpecTitleback to summary
public String getSpecTitle()

Get the package specification title.

Returns:String

the specification title

See Also
java.util.jar.Attributes.Name#SPECIFICATION_TITLE
getSpecVendorback to summary
public String getSpecVendor()

Set the package specification vendor.

Returns:String

the specification vendor

See Also
java.util.jar.Attributes.Name#SPECIFICATION_VENDOR
getSpecVersionback to summary
public String getSpecVersion()

Get the package specification version.

Returns:String

the specification version

See Also
java.util.jar.Attributes.Name#SPECIFICATION_VERSION
setAssertionSettingback to summary
public PackageSpec setAssertionSetting(AssertionSetting assertionSetting)

Set the package assertion setting.

Parameters
assertionSetting:AssertionSetting

the package assertion setting

setAssertionSetting$$bridgeback to summary
public void setAssertionSetting$$bridge(AssertionSetting assertionSetting)
setImplTitleback to summary
public PackageSpec setImplTitle(String implTitle)

Set the implementation title.

Parameters
implTitle:String

the implementation title

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_TITLE
setImplTitle$$bridgeback to summary
public void setImplTitle$$bridge(String implTitle)
setImplVendorback to summary
public PackageSpec setImplVendor(String implVendor)

Set the implementation vendor.

Parameters
implVendor:String

the implementation vendor

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_VENDOR
setImplVendor$$bridgeback to summary
public void setImplVendor$$bridge(String implVendor)
setImplVersionback to summary
public PackageSpec setImplVersion(String implVersion)

Set the implementation version.

Parameters
implVersion:String

the implementation version

See Also
java.util.jar.Attributes.Name#IMPLEMENTATION_VENDOR
setImplVersion$$bridgeback to summary
public void setImplVersion$$bridge(String implVersion)
setSealBaseback to summary
public void setSealBase(URL sealBase)

Set the URL against which this package is sealed.

Parameters
sealBase:URL

the seal base URL

See Also
java.util.jar.Attributes.Name#SEALED
setSpecTitleback to summary
public PackageSpec setSpecTitle(String specTitle)

Set the package specification title.

Parameters
specTitle:String

the specification title

See Also
java.util.jar.Attributes.Name#SPECIFICATION_TITLE
setSpecTitle$$bridgeback to summary
public void setSpecTitle$$bridge(String specTitle)
setSpecVendorback to summary
public PackageSpec setSpecVendor(String specVendor)

Set the package specification vendor.

Parameters
specVendor:String

the specification vendor

See Also
java.util.jar.Attributes.Name#SPECIFICATION_VENDOR
setSpecVendor$$bridgeback to summary
public void setSpecVendor$$bridge(String specVendor)
setSpecVersionback to summary
public PackageSpec setSpecVersion(String specVersion)

Set the package specification version.

Parameters
specVersion:String

the specification version

See Also
java.util.jar.Attributes.Name#SPECIFICATION_VERSION
setSpecVersion$$bridgeback to summary
public void setSpecVersion$$bridge(String specVersion)