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 theconnectorxsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connector<T>description(String description)Sets thedescriptionelementConnector<T>displayName(String displayName)Sets thedisplay-nameelementConnector<T>eisType(String eisType)Sets theeis-typeelementStringgetDescription()Returns thedescriptionelementStringgetDisplayName()Returns thedisplay-nameelementStringgetEisType()Returns theeis-typeelementIcon<Connector<T>>getOrCreateIcon()If not already created, a newiconelement with the given value will be created.License<Connector<T>>getOrCreateLicense()If not already created, a newlicenseelement with the given value will be created.Resourceadapter<Connector<T>>getOrCreateResourceadapter()If not already created, a newresourceadapterelement with the given value will be created.StringgetSpecVersion()Returns thespec-versionelementStringgetVendorName()Returns thevendor-nameelementStringgetVersion()Returns theversionelementConnector<T>removeDescription()Removes thedescriptionelementConnector<T>removeDisplayName()Removes thedisplay-nameelementConnector<T>removeEisType()Removes theeis-typeelementConnector<T>removeIcon()Removes theiconelementConnector<T>removeLicense()Removes thelicenseelementConnector<T>removeResourceadapter()Removes theresourceadapterelementConnector<T>removeSpecVersion()Removes thespec-versionelementConnector<T>removeVendorName()Removes thevendor-nameelementConnector<T>removeVersion()Removes theversionelementConnector<T>specVersion(String specVersion)Sets thespec-versionelementConnector<T>vendorName(String vendorName)Sets thevendor-nameelementConnector<T>version(String version)Sets theversionelement
-
-
-
Method Detail
-
specVersion
Connector<T> specVersion(String 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
Connector<T> removeSpecVersion()
Removes thespec-versionelement- Returns:
- the current instance of
Connector
-
getOrCreateLicense
License<Connector<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
License>
-
removeLicense
Connector<T> removeLicense()
Removes thelicenseelement- Returns:
- the current instance of
Connector
-
displayName
Connector<T> displayName(String 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
Connector<T> removeDisplayName()
Removes thedisplay-nameelement- Returns:
- the current instance of
Connector
-
getOrCreateIcon
Icon<Connector<T>> 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>
-
removeIcon
Connector<T> removeIcon()
Removes theiconelement- Returns:
- the current instance of
Connector
-
description
Connector<T> description(String 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
Connector<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
Connector
-
vendorName
Connector<T> vendorName(String 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
Connector<T> removeVendorName()
Removes thevendor-nameelement- Returns:
- the current instance of
Connector
-
eisType
Connector<T> eisType(String 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
Connector<T> removeEisType()
Removes theeis-typeelement- Returns:
- the current instance of
Connector
-
version
Connector<T> version(String 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
Connector<T> 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>
-
-