Interface ConnectorType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConnectorTypeImpl
public interface ConnectorType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
connectorType xsd type-
Field Summary
Fields -
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-versionelementvendorName(String vendorName) Sets thevendor-nameelementSets theversionattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Field Details
-
VERSION
- See Also:
-
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ConnectorType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ConnectorType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
ConnectorType
-
displayName
Creates for all String objects representingdisplay-nameelements, a newdisplay-nameelement- Parameters:
values- list ofdisplay-nameobjects- Returns:
- the current instance of
ConnectorType
-
getAllDisplayName
Returns alldisplay-nameelements- Returns:
- list of
display-name
-
removeAllDisplayName
ConnectorType<T> removeAllDisplayName()Removes thedisplay-nameelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateIcon
IconType<ConnectorType<T>> getOrCreateIcon()If not already created, a newiconelement will be created and returned. Otherwise, the first existingiconelement will be returned.- Returns:
- the instance defined for the element
icon
-
createIcon
IconType<ConnectorType<T>> createIcon()Creates a newiconelement- Returns:
- the new created instance of
IconTypeinvalid input: '<'ConnectorType>
-
getAllIcon
List<IconType<ConnectorType<T>>> getAllIcon()Returns alliconelements- Returns:
- list of
icon
-
removeAllIcon
ConnectorType<T> removeAllIcon()Removes alliconelements- Returns:
- the current instance of
IconTypeinvalid input: '<'ConnectorType>
-
vendorName
Sets thevendor-nameelement- Parameters:
vendorName- the value for the elementvendor-name- Returns:
- the current instance of
ConnectorType
-
getVendorName
String getVendorName()Returns thevendor-nameelement- Returns:
- the node defined for the element
vendor-name
-
removeVendorName
ConnectorType<T> removeVendorName()Removes thevendor-nameelement- Returns:
- the current instance of
ConnectorType
-
eisType
Sets theeis-typeelement- Parameters:
eisType- the value for the elementeis-type- Returns:
- the current instance of
ConnectorType
-
getEisType
String getEisType()Returns theeis-typeelement- Returns:
- the node defined for the element
eis-type
-
removeEisType
ConnectorType<T> removeEisType()Removes theeis-typeelement- Returns:
- the current instance of
ConnectorType
-
resourceadapterVersion
Sets theresourceadapter-versionelement- Parameters:
resourceadapterVersion- the value for the elementresourceadapter-version- Returns:
- the current instance of
ConnectorType
-
getResourceadapterVersion
String getResourceadapterVersion()Returns theresourceadapter-versionelement- Returns:
- the node defined for the element
resourceadapter-version
-
removeResourceadapterVersion
ConnectorType<T> removeResourceadapterVersion()Removes theresourceadapter-versionelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateLicense
LicenseType<ConnectorType<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
LicenseTypeinvalid input: '<'ConnectorType>
-
removeLicense
ConnectorType<T> removeLicense()Removes thelicenseelement- Returns:
- the current instance of
ConnectorType
-
getOrCreateResourceadapter
ResourceadapterType<ConnectorType<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
ResourceadapterTypeinvalid input: '<'ConnectorType>
-
removeResourceadapter
ConnectorType<T> removeResourceadapter()Removes theresourceadapterelement- Returns:
- the current instance of
ConnectorType
-
version
Sets theversionattribute- Parameters:
version- the value for the attributeversion- Returns:
- the current instance of
ConnectorType
-
getVersion
String getVersion()Returns theversionattribute- Returns:
- the value defined for the attribute
version
-
removeVersion
ConnectorType<T> removeVersion()Removes theversionattribute- Returns:
- the current instance of
ConnectorType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectorType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ConnectorType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ConnectorType
-