ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.connector10
Interface ConnectorDescriptor

All Superinterfaces:
Descriptor, DescriptorNamespace<ConnectorDescriptor>

public interface ConnectorDescriptor
extends Descriptor, DescriptorNamespace<ConnectorDescriptor>

This deployment descriptor provides the functionalities as described in the specification

Example:

ConnectorDescriptor descriptor = Descriptors.create(ConnectorDescriptor.class);

Since:
Generation date :2012-05-09T23:45:01.256-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ConnectorDescriptor description(String description)
          Sets the description element
 ConnectorDescriptor displayName(String displayName)
          Sets the display-name element
 ConnectorDescriptor eisType(String eisType)
          Sets the eis-type element
 String getDescription()
          Returns the description element
 String getDisplayName()
          Returns the display-name element
 String getEisType()
          Returns the eis-type element
 Icon<ConnectorDescriptor> getOrCreateIcon()
          If not already created, a new icon element with the given value will be created.
 License<ConnectorDescriptor> getOrCreateLicense()
          If not already created, a new license element with the given value will be created.
 Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
          If not already created, a new resourceadapter element with the given value will be created.
 String getSpecVersion()
          Returns the spec-version element
 String getVendorName()
          Returns the vendor-name element
 String getVersion()
          Returns the version element
 ConnectorDescriptor removeDescription()
          Removes the description element
 ConnectorDescriptor removeDisplayName()
          Removes the display-name element
 ConnectorDescriptor removeEisType()
          Removes the eis-type element
 ConnectorDescriptor removeIcon()
          Removes the icon element
 ConnectorDescriptor removeLicense()
          Removes the license element
 ConnectorDescriptor removeResourceadapter()
          Removes the resourceadapter element
 ConnectorDescriptor removeSpecVersion()
          Removes the spec-version element
 ConnectorDescriptor removeVendorName()
          Removes the vendor-name element
 ConnectorDescriptor removeVersion()
          Removes the version element
 ConnectorDescriptor specVersion(String specVersion)
          Sets the spec-version element
 ConnectorDescriptor vendorName(String vendorName)
          Sets the vendor-name element
 ConnectorDescriptor version(String version)
          Sets the version element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
 

Method Detail

specVersion

ConnectorDescriptor specVersion(String specVersion)
Sets the spec-version element

Parameters:
specVersion - the value for the element spec-version
Returns:
the current instance of ConnectorDescriptor

getSpecVersion

String getSpecVersion()
Returns the spec-version element

Returns:
the node defined for the element spec-version

removeSpecVersion

ConnectorDescriptor removeSpecVersion()
Removes the spec-version element

Returns:
the current instance of ConnectorDescriptor

getOrCreateIcon

Icon<ConnectorDescriptor> getOrCreateIcon()
If not already created, a new icon element with the given value will be created. Otherwise, the existing icon element will be returned.

Returns:
a new or existing instance of Icon

removeIcon

ConnectorDescriptor removeIcon()
Removes the icon element

Returns:
the current instance of ConnectorDescriptor

displayName

ConnectorDescriptor displayName(String displayName)
Sets the display-name element

Parameters:
displayName - the value for the element display-name
Returns:
the current instance of ConnectorDescriptor

getDisplayName

String getDisplayName()
Returns the display-name element

Returns:
the node defined for the element display-name

removeDisplayName

ConnectorDescriptor removeDisplayName()
Removes the display-name element

Returns:
the current instance of ConnectorDescriptor

vendorName

ConnectorDescriptor vendorName(String vendorName)
Sets the vendor-name element

Parameters:
vendorName - the value for the element vendor-name
Returns:
the current instance of ConnectorDescriptor

getVendorName

String getVendorName()
Returns the vendor-name element

Returns:
the node defined for the element vendor-name

removeVendorName

ConnectorDescriptor removeVendorName()
Removes the vendor-name element

Returns:
the current instance of ConnectorDescriptor

description

ConnectorDescriptor description(String description)
Sets the description element

Parameters:
description - the value for the element description
Returns:
the current instance of ConnectorDescriptor

getDescription

String getDescription()
Returns the description element

Returns:
the node defined for the element description

removeDescription

ConnectorDescriptor removeDescription()
Removes the description element

Returns:
the current instance of ConnectorDescriptor

eisType

ConnectorDescriptor eisType(String eisType)
Sets the eis-type element

Parameters:
eisType - the value for the element eis-type
Returns:
the current instance of ConnectorDescriptor

getEisType

String getEisType()
Returns the eis-type element

Returns:
the node defined for the element eis-type

removeEisType

ConnectorDescriptor removeEisType()
Removes the eis-type element

Returns:
the current instance of ConnectorDescriptor

getOrCreateLicense

License<ConnectorDescriptor> getOrCreateLicense()
If not already created, a new license element with the given value will be created. Otherwise, the existing license element will be returned.

Returns:
a new or existing instance of License

removeLicense

ConnectorDescriptor removeLicense()
Removes the license element

Returns:
the current instance of ConnectorDescriptor

getOrCreateResourceadapter

Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter()
If not already created, a new resourceadapter element with the given value will be created. Otherwise, the existing resourceadapter element will be returned.

Returns:
a new or existing instance of Resourceadapter

removeResourceadapter

ConnectorDescriptor removeResourceadapter()
Removes the resourceadapter element

Returns:
the current instance of ConnectorDescriptor

version

ConnectorDescriptor version(String version)
Sets the version element

Parameters:
version - the value for the element version
Returns:
the current instance of ConnectorDescriptor

getVersion

String getVersion()
Returns the version element

Returns:
the node defined for the element version

removeVersion

ConnectorDescriptor removeVersion()
Removes the version element

Returns:
the current instance of ConnectorDescriptor

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.