Interface ConnectorType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConnectorTypeImpl
public interface ConnectorType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theconnectorTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IconType<ConnectorType<T>>createIcon()Creates a newiconelementConnectorType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementConnectorType<T>displayName(String... values)Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelementConnectorType<T>eisType(String eisType)Sets theeis-typeelementList<String>getAllDescription()Returns alldescriptionelementsList<String>getAllDisplayName()Returns alldisplay-nameelementsList<IconType<ConnectorType<T>>>getAllIcon()Returns alliconelementsList<String>getAllRequiredWorkContext()Returns allrequired-work-contextelementsStringgetEisType()Returns theeis-typeelementStringgetId()Returns theidattributeStringgetModuleName()Returns themodule-nameelementIconType<ConnectorType<T>>getOrCreateIcon()If not already created, a newiconelement will be created and returned.LicenseType<ConnectorType<T>>getOrCreateLicense()If not already created, a newlicenseelement with the given value will be created.ResourceadapterType<ConnectorType<T>>getOrCreateResourceadapter()If not already created, a newresourceadapterelement with the given value will be created.StringgetResourceadapterVersion()Returns theresourceadapter-versionelementStringgetVendorName()Returns thevendor-nameelementStringgetVersion()Returns theversionattributeConnectorType<T>id(String id)Sets theidattributeBooleanisMetadataComplete()Returns themetadata-completeattributeConnectorType<T>metadataComplete(Boolean metadataComplete)Sets themetadata-completeattributeConnectorType<T>moduleName(String moduleName)Sets themodule-nameelementConnectorType<T>removeAllDescription()Removes thedescriptionelementConnectorType<T>removeAllDisplayName()Removes thedisplay-nameelementConnectorType<T>removeAllIcon()Removes alliconelementsConnectorType<T>removeAllRequiredWorkContext()Removes therequired-work-contextelementConnectorType<T>removeEisType()Removes theeis-typeelementConnectorType<T>removeId()Removes theidattributeConnectorType<T>removeLicense()Removes thelicenseelementConnectorType<T>removeMetadataComplete()Removes themetadata-completeattributeConnectorType<T>removeModuleName()Removes themodule-nameelementConnectorType<T>removeResourceadapter()Removes theresourceadapterelementConnectorType<T>removeResourceadapterVersion()Removes theresourceadapter-versionelementConnectorType<T>removeVendorName()Removes thevendor-nameelementConnectorType<T>removeVersion()Removes theversionattributeConnectorType<T>requiredWorkContext(String... values)Creates for all String objects representingrequired-work-contextelements, a newrequired-work-contextelementConnectorType<T>resourceadapterVersion(String resourceadapterVersion)Sets theresourceadapter-versionelementConnectorType<T>vendorName(String vendorName)Sets thevendor-nameelementConnectorType<T>version(String version)Sets theversionattribute
-
-
-
Field Detail
-
VERSION
static final String VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
ConnectorType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConnectorType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ConnectorType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
ConnectorType
-
displayName
ConnectorType<T> displayName(String... values)
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
ConnectorType
-
getAllDisplayName
List<String> getAllDisplayName()
Returns alldisplay-nameelements- Returns:
- list of
display-name
-
removeAllDisplayName
ConnectorType<T> removeAllDisplayName()
Removes thedisplay-nameelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateIcon
IconType<ConnectorType<T>> getOrCreateIcon()
If not already created, a newiconelement will be created and returned. Otherwise, the first existingiconelement will be returned.- Returns:
- the instance defined for the element
icon
-
createIcon
IconType<ConnectorType<T>> createIcon()
Creates a newiconelement- Returns:
- the new created instance of
IconType>
-
getAllIcon
List<IconType<ConnectorType<T>>> getAllIcon()
Returns alliconelements- Returns:
- list of
icon
-
removeAllIcon
ConnectorType<T> removeAllIcon()
Removes alliconelements- Returns:
- the current instance of
IconType>
-
moduleName
ConnectorType<T> moduleName(String moduleName)
Sets themodule-nameelement- Parameters:
moduleName- the value for the elementmodule-name- Returns:
- the current instance of
ConnectorType
-
getModuleName
String getModuleName()
Returns themodule-nameelement- Returns:
- the node defined for the element
module-name
-
removeModuleName
ConnectorType<T> removeModuleName()
Removes themodule-nameelement- Returns:
- the current instance of
ConnectorType
-
vendorName
ConnectorType<T> vendorName(String vendorName)
Sets thevendor-nameelement- Parameters:
vendorName- the value for the elementvendor-name- Returns:
- the current instance of
ConnectorType
-
getVendorName
String getVendorName()
Returns thevendor-nameelement- Returns:
- the node defined for the element
vendor-name
-
removeVendorName
ConnectorType<T> removeVendorName()
Removes thevendor-nameelement- Returns:
- the current instance of
ConnectorType
-
eisType
ConnectorType<T> eisType(String eisType)
Sets theeis-typeelement- Parameters:
eisType- the value for the elementeis-type- Returns:
- the current instance of
ConnectorType
-
getEisType
String getEisType()
Returns theeis-typeelement- Returns:
- the node defined for the element
eis-type
-
removeEisType
ConnectorType<T> removeEisType()
Removes theeis-typeelement- Returns:
- the current instance of
ConnectorType
-
resourceadapterVersion
ConnectorType<T> resourceadapterVersion(String resourceadapterVersion)
Sets theresourceadapter-versionelement- Parameters:
resourceadapterVersion- the value for the elementresourceadapter-version- Returns:
- the current instance of
ConnectorType
-
getResourceadapterVersion
String getResourceadapterVersion()
Returns theresourceadapter-versionelement- Returns:
- the node defined for the element
resourceadapter-version
-
removeResourceadapterVersion
ConnectorType<T> removeResourceadapterVersion()
Removes theresourceadapter-versionelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateLicense
LicenseType<ConnectorType<T>> getOrCreateLicense()
If not already created, a newlicenseelement with the given value will be created. Otherwise, the existinglicenseelement will be returned.- Returns:
- a new or existing instance of
LicenseType>
-
removeLicense
ConnectorType<T> removeLicense()
Removes thelicenseelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateResourceadapter
ResourceadapterType<ConnectorType<T>> getOrCreateResourceadapter()
If not already created, a newresourceadapterelement with the given value will be created. Otherwise, the existingresourceadapterelement will be returned.- Returns:
- a new or existing instance of
ResourceadapterType>
-
removeResourceadapter
ConnectorType<T> removeResourceadapter()
Removes theresourceadapterelement- Returns:
- the current instance of
ConnectorType
-
requiredWorkContext
ConnectorType<T> requiredWorkContext(String... values)
Creates for all String objects representingrequired-work-contextelements, a newrequired-work-contextelement- Parameters:
values- list ofrequired-work-contextobjects- Returns:
- the current instance of
ConnectorType
-
getAllRequiredWorkContext
List<String> getAllRequiredWorkContext()
Returns allrequired-work-contextelements- Returns:
- list of
required-work-context
-
removeAllRequiredWorkContext
ConnectorType<T> removeAllRequiredWorkContext()
Removes therequired-work-contextelement- Returns:
- the current instance of
ConnectorType
-
version
ConnectorType<T> version(String version)
Sets theversionattribute- Parameters:
version- the value for the attributeversion- Returns:
- the current instance of
ConnectorType
-
getVersion
String getVersion()
Returns theversionattribute- Returns:
- the value defined for the attribute
version
-
removeVersion
ConnectorType<T> removeVersion()
Removes theversionattribute- Returns:
- the current instance of
ConnectorType
-
metadataComplete
ConnectorType<T> metadataComplete(Boolean metadataComplete)
Sets themetadata-completeattribute- Parameters:
metadataComplete- the value for the attributemetadata-complete- Returns:
- the current instance of
ConnectorType
-
isMetadataComplete
Boolean isMetadataComplete()
Returns themetadata-completeattribute- Returns:
- the value defined for the attribute
metadata-complete
-
removeMetadataComplete
ConnectorType<T> removeMetadataComplete()
Removes themetadata-completeattribute- Returns:
- the current instance of
ConnectorType
-
id
ConnectorType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectorType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ConnectorType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
ConnectorType
-
-