ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.connector15
Interface ConnectorType<T>

All Superinterfaces:
Child<T>

public interface ConnectorType<T>
extends Child<T>

This interface defines the contract for the connectorType xsd type

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

Method Summary
 IconType<ConnectorType<T>> createIcon()
          Creates a new icon element
 ConnectorType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 ConnectorType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 ConnectorType<T> eisType(String eisType)
          Sets the eis-type element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<ConnectorType<T>>> getAllIcon()
          Returns all icon elements
 String getEisType()
          Returns the eis-type element
 IconType<ConnectorType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 LicenseType<ConnectorType<T>> getOrCreateLicense()
          If not already created, a new license element with the given value will be created.
 ResourceadapterType<ConnectorType<T>> getOrCreateResourceadapter()
          If not already created, a new resourceadapter element with the given value will be created.
 String getResourceadapterVersion()
          Returns the resourceadapter-version element
 String getVendorName()
          Returns the vendor-name element
 String getVersion()
          Returns the version attribute
 ConnectorType<T> removeAllDescription()
          Removes the description element
 ConnectorType<T> removeAllDisplayName()
          Removes the display-name element
 ConnectorType<T> removeAllIcon()
          Removes all icon elements
 ConnectorType<T> removeEisType()
          Removes the eis-type element
 ConnectorType<T> removeLicense()
          Removes the license element
 ConnectorType<T> removeResourceadapter()
          Removes the resourceadapter element
 ConnectorType<T> removeResourceadapterVersion()
          Removes the resourceadapter-version element
 ConnectorType<T> removeVendorName()
          Removes the vendor-name element
 ConnectorType<T> removeVersion()
          Removes the version attribute
 ConnectorType<T> resourceadapterVersion(String resourceadapterVersion)
          Sets the resourceadapter-version element
 ConnectorType<T> vendorName(String vendorName)
          Sets the vendor-name element
 ConnectorType<T> version(String version)
          Sets the version attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ConnectorType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ConnectorType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ConnectorType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ConnectorType

displayName

ConnectorType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of ConnectorType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

ConnectorType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of ConnectorType

getOrCreateIcon

IconType<ConnectorType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<ConnectorType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<ConnectorType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

ConnectorType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

vendorName

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

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

getVendorName

String getVendorName()
Returns the vendor-name element

Returns:
the node defined for the element vendor-name

removeVendorName

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

Returns:
the current instance of ConnectorType

eisType

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

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

getEisType

String getEisType()
Returns the eis-type element

Returns:
the node defined for the element eis-type

removeEisType

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

Returns:
the current instance of ConnectorType

resourceadapterVersion

ConnectorType<T> resourceadapterVersion(String resourceadapterVersion)
Sets the resourceadapter-version element

Parameters:
resourceadapterVersion - the value for the element resourceadapter-version
Returns:
the current instance of ConnectorType

getResourceadapterVersion

String getResourceadapterVersion()
Returns the resourceadapter-version element

Returns:
the node defined for the element resourceadapter-version

removeResourceadapterVersion

ConnectorType<T> removeResourceadapterVersion()
Removes the resourceadapter-version element

Returns:
the current instance of ConnectorType

getOrCreateLicense

LicenseType<ConnectorType<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 LicenseType>

removeLicense

ConnectorType<T> removeLicense()
Removes the license element

Returns:
the current instance of ConnectorType

getOrCreateResourceadapter

ResourceadapterType<ConnectorType<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 ResourceadapterType>

removeResourceadapter

ConnectorType<T> removeResourceadapter()
Removes the resourceadapter element

Returns:
the current instance of ConnectorType

version

ConnectorType<T> version(String version)
Sets the version attribute

Parameters:
version - the value for the attribute version
Returns:
the current instance of ConnectorType

getVersion

String getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

removeVersion

ConnectorType<T> removeVersion()
Removes the version attribute

Returns:
the current instance of ConnectorType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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