ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.connector10
Interface Connector<T>

All Superinterfaces:
Child<T>

public interface Connector<T>
extends Child<T>

This interface defines the contract for the connector xsd type

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

Method Summary
 Connector<T> description(String description)
          Sets the description element
 Connector<T> displayName(String displayName)
          Sets the display-name element
 Connector<T> 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<Connector<T>> getOrCreateIcon()
          If not already created, a new icon element with the given value will be created.
 License<Connector<T>> getOrCreateLicense()
          If not already created, a new license element with the given value will be created.
 Resourceadapter<Connector<T>> 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
 Connector<T> removeDescription()
          Removes the description element
 Connector<T> removeDisplayName()
          Removes the display-name element
 Connector<T> removeEisType()
          Removes the eis-type element
 Connector<T> removeIcon()
          Removes the icon element
 Connector<T> removeLicense()
          Removes the license element
 Connector<T> removeResourceadapter()
          Removes the resourceadapter element
 Connector<T> removeSpecVersion()
          Removes the spec-version element
 Connector<T> removeVendorName()
          Removes the vendor-name element
 Connector<T> removeVersion()
          Removes the version element
 Connector<T> specVersion(String specVersion)
          Sets the spec-version element
 Connector<T> vendorName(String vendorName)
          Sets the vendor-name element
 Connector<T> version(String version)
          Sets the version element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

specVersion

Connector<T> specVersion(String specVersion)
Sets the spec-version element

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

getSpecVersion

String getSpecVersion()
Returns the spec-version element

Returns:
the node defined for the element spec-version

removeSpecVersion

Connector<T> removeSpecVersion()
Removes the spec-version element

Returns:
the current instance of Connector

getOrCreateIcon

Icon<Connector<T>> 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

Connector<T> removeIcon()
Removes the icon element

Returns:
the current instance of Connector

displayName

Connector<T> displayName(String displayName)
Sets the display-name element

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

getDisplayName

String getDisplayName()
Returns the display-name element

Returns:
the node defined for the element display-name

removeDisplayName

Connector<T> removeDisplayName()
Removes the display-name element

Returns:
the current instance of Connector

vendorName

Connector<T> vendorName(String vendorName)
Sets the vendor-name element

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

getVendorName

String getVendorName()
Returns the vendor-name element

Returns:
the node defined for the element vendor-name

removeVendorName

Connector<T> removeVendorName()
Removes the vendor-name element

Returns:
the current instance of Connector

description

Connector<T> description(String description)
Sets the description element

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

getDescription

String getDescription()
Returns the description element

Returns:
the node defined for the element description

removeDescription

Connector<T> removeDescription()
Removes the description element

Returns:
the current instance of Connector

eisType

Connector<T> eisType(String eisType)
Sets the eis-type element

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

getEisType

String getEisType()
Returns the eis-type element

Returns:
the node defined for the element eis-type

removeEisType

Connector<T> removeEisType()
Removes the eis-type element

Returns:
the current instance of Connector

getOrCreateLicense

License<Connector<T>> 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

Connector<T> removeLicense()
Removes the license element

Returns:
the current instance of Connector

getOrCreateResourceadapter

Resourceadapter<Connector<T>> 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

Connector<T> removeResourceadapter()
Removes the resourceadapter element

Returns:
the current instance of Connector

version

Connector<T> version(String version)
Sets the version element

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

getVersion

String getVersion()
Returns the version element

Returns:
the node defined for the element version

removeVersion

Connector<T> removeVersion()
Removes the version element

Returns:
the current instance of Connector

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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