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 the
connectorType xsd type-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCreates a newiconelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementdisplayName(String... values) Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelementSets theeis-typeelementReturns alldescriptionelementsReturns alldisplay-nameelementsReturns alliconelementsReturns allrequired-work-contextelementsReturns theeis-typeelementgetId()Returns theidattributeReturns themodule-nameelementIf not already created, a newiconelement will be created and returned.If not already created, a newlicenseelement with the given value will be created.If not already created, a newresourceadapterelement with the given value will be created.Returns theresourceadapter-versionelementReturns thevendor-nameelementReturns theversionattributeSets theidattributeReturns themetadata-completeattributemetadataComplete(Boolean metadataComplete) Sets themetadata-completeattributemoduleName(String moduleName) Sets themodule-nameelementRemoves thedescriptionelementRemoves thedisplay-nameelementRemoves alliconelementsRemoves therequired-work-contextelementRemoves theeis-typeelementremoveId()Removes theidattributeRemoves thelicenseelementRemoves themetadata-completeattributeRemoves themodule-nameelementRemoves theresourceadapterelementRemoves theresourceadapter-versionelementRemoves thevendor-nameelementRemoves theversionattributerequiredWorkContext(String... values) Creates for all String objects representingrequired-work-contextelements, a newrequired-work-contextelementresourceadapterVersion(String resourceadapterVersion) Sets theresourceadapter-versionelementvendorName(String vendorName) Sets thevendor-nameelementSets theversionattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Field Details
-
VERSION
- See Also:
-
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConnectorType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ConnectorType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
ConnectorType
-
displayName
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
ConnectorType
-
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
IconTypeinvalid input: '<'ConnectorType>
-
getAllIcon
List<IconType<ConnectorType<T>>> getAllIcon()Returns alliconelements- Returns:
- list of
icon
-
removeAllIcon
ConnectorType<T> removeAllIcon()Removes alliconelements- Returns:
- the current instance of
IconTypeinvalid input: '<'ConnectorType>
-
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
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
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
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
LicenseTypeinvalid input: '<'ConnectorType>
-
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
ResourceadapterTypeinvalid input: '<'ConnectorType>
-
removeResourceadapter
ConnectorType<T> removeResourceadapter()Removes theresourceadapterelement- Returns:
- the current instance of
ConnectorType
-
requiredWorkContext
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
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
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
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
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
-