Class ConnectorImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector10.ConnectorImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,Connector<T>
public class ConnectorImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, Connector<T>
This class implements the
connector xsd type-
Constructor Summary
ConstructorsConstructorDescriptionConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets thedescriptionelementdisplayName(String displayName) Sets thedisplay-nameelementSets theeis-typeelementReturns thedescriptionelementReturns thedisplay-nameelementReturns theeis-typeelementIf not already created, a newiconelement with the given value will be created.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 thespec-versionelementReturns thevendor-nameelementReturns theversionelementRemoves thedescriptionelementRemoves thedisplay-nameelementRemoves theeis-typeelementRemoves theiconelementRemoves thelicenseelementRemoves theresourceadapterelementRemoves thespec-versionelementRemoves thevendor-nameelementRemoves theversionelementspecVersion(String specVersion) Sets thespec-versionelementup()vendorName(String vendorName) Sets thevendor-nameelementSets theversionelement
-
Constructor Details
-
ConnectorImpl
-
ConnectorImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
specVersion
Sets thespec-versionelement- Specified by:
specVersionin interfaceConnector<T>- Parameters:
specVersion- the value for the elementspec-version- Returns:
- the current instance of
Connector
-
getSpecVersion
Returns thespec-versionelement- Specified by:
getSpecVersionin interfaceConnector<T>- Returns:
- the node defined for the element
spec-version
-
removeSpecVersion
Removes thespec-versionelement- Specified by:
removeSpecVersionin interfaceConnector<T>- Returns:
- the current instance of
Connector
-
getOrCreateLicense
If not already created, a newlicenseelement with the given value will be created. Otherwise, the existinglicenseelement will be returned.- Specified by:
getOrCreateLicensein interfaceConnector<T>- Returns:
- a new or existing instance of
License<Connector>
-
removeLicense
Removes thelicenseelement- Specified by:
removeLicensein interfaceConnector<T>- Returns:
- the current instance of
Connector
-
displayName
Sets thedisplay-nameelement- Specified by:
displayNamein interfaceConnector<T>- Parameters:
displayName- the value for the elementdisplay-name- Returns:
- the current instance of
Connector
-
getDisplayName
Returns thedisplay-nameelement- Specified by:
getDisplayNamein interfaceConnector<T>- Returns:
- the node defined for the element
display-name
-
removeDisplayName
Removes thedisplay-nameelement- Specified by:
removeDisplayNamein interfaceConnector<T>- Returns:
- the current instance of
Connector
-
getOrCreateIcon
If not already created, a newiconelement with the given value will be created. Otherwise, the existingiconelement will be returned.- Specified by:
getOrCreateIconin interfaceConnector<T>- Returns:
- a new or existing instance of
Icon<Connector>
-
removeIcon
Removes theiconelement- Specified by:
removeIconin interfaceConnector<T>- Returns:
- the current instance of
Connector
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceConnector<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
Connector
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceConnector<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceConnector<T>- Returns:
- the current instance of
Connector
-
vendorName
Sets thevendor-nameelement- Specified by:
vendorNamein interfaceConnector<T>- Parameters:
vendorName- the value for the elementvendor-name- Returns:
- the current instance of
Connector
-
getVendorName
Returns thevendor-nameelement- Specified by:
getVendorNamein interfaceConnector<T>- Returns:
- the node defined for the element
vendor-name
-
removeVendorName
Removes thevendor-nameelement- Specified by:
removeVendorNamein interfaceConnector<T>- Returns:
- the current instance of
Connector
-
eisType
Sets theeis-typeelement -
getEisType
Returns theeis-typeelement- Specified by:
getEisTypein interfaceConnector<T>- Returns:
- the node defined for the element
eis-type
-
removeEisType
Removes theeis-typeelement- Specified by:
removeEisTypein interfaceConnector<T>- Returns:
- the current instance of
Connector
-
version
Sets theversionelement -
getVersion
Returns theversionelement- Specified by:
getVersionin interfaceConnector<T>- Returns:
- the node defined for the element
version
-
removeVersion
Removes theversionelement- Specified by:
removeVersionin interfaceConnector<T>- Returns:
- the current instance of
Connector
-
getOrCreateResourceadapter
If not already created, a newresourceadapterelement with the given value will be created. Otherwise, the existingresourceadapterelement will be returned.- Specified by:
getOrCreateResourceadapterin interfaceConnector<T>- Returns:
- a new or existing instance of
Resourceadapter<Connector>
-
removeResourceadapter
Removes theresourceadapterelement- Specified by:
removeResourceadapterin interfaceConnector<T>- Returns:
- the current instance of
Connector
-