Class ConnectorTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector15.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.connector15.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 theeis-typeelementgetId()Returns theidattributeIf 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 theidattributeRemoves thedescriptionelementRemoves thedisplay-nameelementRemoves alliconelementsRemoves theeis-typeelementremoveId()Removes theidattributeRemoves thelicenseelementRemoves theresourceadapterelementRemoves theresourceadapter-versionelementRemoves thevendor-nameelementRemoves theversionattributeresourceadapterVersion(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
IconTypeinvalid input: '<'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
IconTypeinvalid input: '<'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
LicenseTypeinvalid input: '<'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
ResourceadapterTypeinvalid input: '<'ConnectorType>
-
removeResourceadapter
Removes theresourceadapterelement- Specified by:
removeResourceadapterin 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
-
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
-