Interface Connector<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConnectorImpl
public interface Connector<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
connector xsd type-
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-versionelementvendorName(String vendorName) Sets thevendor-nameelementSets theversionelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
specVersion
Sets thespec-versionelement- Parameters:
specVersion- the value for the elementspec-version- Returns:
- the current instance of
Connector
-
getSpecVersion
String getSpecVersion()Returns thespec-versionelement- Returns:
- the node defined for the element
spec-version
-
removeSpecVersion
Removes thespec-versionelement- 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.- Returns:
- a new or existing instance of
License<Connector>
-
removeLicense
Removes thelicenseelement- Returns:
- the current instance of
Connector
-
displayName
Sets thedisplay-nameelement- Parameters:
displayName- the value for the elementdisplay-name- Returns:
- the current instance of
Connector
-
getDisplayName
String getDisplayName()Returns thedisplay-nameelement- Returns:
- the node defined for the element
display-name
-
removeDisplayName
Removes thedisplay-nameelement- 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.- Returns:
- a new or existing instance of
Icon<Connector>
-
removeIcon
Removes theiconelement- Returns:
- the current instance of
Connector
-
description
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
Connector
-
getDescription
String getDescription()Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Returns:
- the current instance of
Connector
-
vendorName
Sets thevendor-nameelement- Parameters:
vendorName- the value for the elementvendor-name- Returns:
- the current instance of
Connector
-
getVendorName
String getVendorName()Returns thevendor-nameelement- Returns:
- the node defined for the element
vendor-name
-
removeVendorName
Removes thevendor-nameelement- Returns:
- the current instance of
Connector
-
eisType
Sets theeis-typeelement- Parameters:
eisType- the value for the elementeis-type- Returns:
- the current instance of
Connector
-
getEisType
String getEisType()Returns theeis-typeelement- Returns:
- the node defined for the element
eis-type
-
removeEisType
Removes theeis-typeelement- Returns:
- the current instance of
Connector
-
version
Sets theversionelement- Parameters:
version- the value for the elementversion- Returns:
- the current instance of
Connector
-
getVersion
String getVersion()Returns theversionelement- Returns:
- the node defined for the element
version
-
removeVersion
Removes theversionelement- Returns:
- the current instance of
Connector
-
getOrCreateResourceadapter
Resourceadapter<Connector<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
Resourceadapter<Connector>
-
removeResourceadapter
Removes theresourceadapterelement- Returns:
- the current instance of
Connector
-