Class ConnectorTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector17.ConnectorTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ConnectorType<T>
public class ConnectorTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectorType<T>
This class implements the
connectorType xsd type-
Field Summary
Fields inherited from interface org.jboss.shrinkwrap.descriptor.api.connector17.ConnectorType
VERSION -
Constructor Summary
ConstructorsConstructorDescriptionConnectorTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ConnectorTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-versionelementup()vendorName(String vendorName) Sets thevendor-nameelementSets theversionattribute
-
Constructor Details
-
ConnectorTypeImpl
-
ConnectorTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceConnectorType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConnectorType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceConnectorType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
displayName
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Specified by:
displayNamein interfaceConnectorType<T>- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
ConnectorType
-
getAllDisplayName
Returns alldisplay-nameelements- Specified by:
getAllDisplayNamein interfaceConnectorType<T>- Returns:
- list of
display-name
-
removeAllDisplayName
Removes thedisplay-nameelement- Specified by:
removeAllDisplayNamein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
getOrCreateIcon
If not already created, a newiconelement will be created and returned. Otherwise, the first existingiconelement will be returned.- Specified by:
getOrCreateIconin interfaceConnectorType<T>- Returns:
- the instance defined for the element
icon
-
createIcon
Creates a newiconelement- Specified by:
createIconin interfaceConnectorType<T>- Returns:
- the new created instance of
IconType<ConnectorType>
-
getAllIcon
Returns alliconelements- Specified by:
getAllIconin interfaceConnectorType<T>- Returns:
- list of
icon
-
removeAllIcon
Removes alliconelements- Specified by:
removeAllIconin interfaceConnectorType<T>- Returns:
- the current instance of
IconType<ConnectorType>
-
moduleName
Sets themodule-nameelement- Specified by:
moduleNamein interfaceConnectorType<T>- Parameters:
moduleName- the value for the elementmodule-name- Returns:
- the current instance of
ConnectorType
-
getModuleName
Returns themodule-nameelement- Specified by:
getModuleNamein interfaceConnectorType<T>- Returns:
- the node defined for the element
module-name
-
removeModuleName
Removes themodule-nameelement- Specified by:
removeModuleNamein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
vendorName
Sets thevendor-nameelement- Specified by:
vendorNamein interfaceConnectorType<T>- Parameters:
vendorName- the value for the elementvendor-name- Returns:
- the current instance of
ConnectorType
-
getVendorName
Returns thevendor-nameelement- Specified by:
getVendorNamein interfaceConnectorType<T>- Returns:
- the node defined for the element
vendor-name
-
removeVendorName
Removes thevendor-nameelement- Specified by:
removeVendorNamein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
eisType
Sets theeis-typeelement- Specified by:
eisTypein interfaceConnectorType<T>- Parameters:
eisType- the value for the elementeis-type- Returns:
- the current instance of
ConnectorType
-
getEisType
Returns theeis-typeelement- Specified by:
getEisTypein interfaceConnectorType<T>- Returns:
- the node defined for the element
eis-type
-
removeEisType
Removes theeis-typeelement- Specified by:
removeEisTypein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
resourceadapterVersion
Sets theresourceadapter-versionelement- Specified by:
resourceadapterVersionin interfaceConnectorType<T>- Parameters:
resourceadapterVersion- the value for the elementresourceadapter-version- Returns:
- the current instance of
ConnectorType
-
getResourceadapterVersion
Returns theresourceadapter-versionelement- Specified by:
getResourceadapterVersionin interfaceConnectorType<T>- Returns:
- the node defined for the element
resourceadapter-version
-
removeResourceadapterVersion
Removes theresourceadapter-versionelement- Specified by:
removeResourceadapterVersionin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
getOrCreateLicense
If not already created, a newlicenseelement with the given value will be created. Otherwise, the existinglicenseelement will be returned.- Specified by:
getOrCreateLicensein interfaceConnectorType<T>- Returns:
- a new or existing instance of
LicenseType<ConnectorType>
-
removeLicense
Removes thelicenseelement- Specified by:
removeLicensein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
getOrCreateResourceadapter
If not already created, a newresourceadapterelement with the given value will be created. Otherwise, the existingresourceadapterelement will be returned.- Specified by:
getOrCreateResourceadapterin interfaceConnectorType<T>- Returns:
- a new or existing instance of
ResourceadapterType<ConnectorType>
-
removeResourceadapter
Removes theresourceadapterelement- Specified by:
removeResourceadapterin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
requiredWorkContext
Creates for all String objects representingrequired-work-contextelements, a newrequired-work-contextelement- Specified by:
requiredWorkContextin interfaceConnectorType<T>- Parameters:
values- list ofrequired-work-contextobjects- Returns:
- the current instance of
ConnectorType
-
getAllRequiredWorkContext
Returns allrequired-work-contextelements- Specified by:
getAllRequiredWorkContextin interfaceConnectorType<T>- Returns:
- list of
required-work-context
-
removeAllRequiredWorkContext
Removes therequired-work-contextelement- Specified by:
removeAllRequiredWorkContextin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
version
Sets theversionattribute- Specified by:
versionin interfaceConnectorType<T>- Parameters:
version- the value for the attributeversion- Returns:
- the current instance of
ConnectorType
-
getVersion
Returns theversionattribute- Specified by:
getVersionin interfaceConnectorType<T>- Returns:
- the value defined for the attribute
version
-
removeVersion
Removes theversionattribute- Specified by:
removeVersionin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
metadataComplete
Sets themetadata-completeattribute- Specified by:
metadataCompletein interfaceConnectorType<T>- Parameters:
metadataComplete- the value for the attributemetadata-complete- Returns:
- the current instance of
ConnectorType
-
isMetadataComplete
Returns themetadata-completeattribute- Specified by:
isMetadataCompletein interfaceConnectorType<T>- Returns:
- the value defined for the attribute
metadata-complete
-
removeMetadataComplete
Removes themetadata-completeattribute- Specified by:
removeMetadataCompletein interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-
id
Sets theidattribute- Specified by:
idin interfaceConnectorType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectorType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceConnectorType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceConnectorType<T>- Returns:
- the current instance of
ConnectorType
-