public class ConnectorTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectorType<T>
connectorType
xsd typeVERSION
Constructor and Description |
---|
ConnectorTypeImpl(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) |
Modifier and Type | Method and Description |
---|---|
IconType<ConnectorType<T>> |
createIcon()
Creates a new
icon element |
ConnectorType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
ConnectorType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
ConnectorType<T> |
eisType(String eisType)
Sets the
eis-type element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<ConnectorType<T>>> |
getAllIcon()
Returns all
icon elements |
String |
getEisType()
Returns the
eis-type element |
String |
getId()
Returns the
id attribute |
IconType<ConnectorType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
LicenseType<ConnectorType<T>> |
getOrCreateLicense()
If not already created, a new
license element with the given value will be created. |
ResourceadapterType<ConnectorType<T>> |
getOrCreateResourceadapter()
If not already created, a new
resourceadapter element with the given value will be created. |
String |
getResourceadapterVersion()
Returns the
resourceadapter-version element |
String |
getVendorName()
Returns the
vendor-name element |
String |
getVersion()
Returns the
version attribute |
ConnectorType<T> |
id(String id)
Sets the
id attribute |
ConnectorType<T> |
removeAllDescription()
Removes the
description element |
ConnectorType<T> |
removeAllDisplayName()
Removes the
display-name element |
ConnectorType<T> |
removeAllIcon()
Removes all
icon elements |
ConnectorType<T> |
removeEisType()
Removes the
eis-type element |
ConnectorType<T> |
removeId()
Removes the
id attribute |
ConnectorType<T> |
removeLicense()
Removes the
license element |
ConnectorType<T> |
removeResourceadapter()
Removes the
resourceadapter element |
ConnectorType<T> |
removeResourceadapterVersion()
Removes the
resourceadapter-version element |
ConnectorType<T> |
removeVendorName()
Removes the
vendor-name element |
ConnectorType<T> |
removeVersion()
Removes the
version attribute |
ConnectorType<T> |
resourceadapterVersion(String resourceadapterVersion)
Sets the
resourceadapter-version element |
T |
up() |
ConnectorType<T> |
vendorName(String vendorName)
Sets the
vendor-name element |
ConnectorType<T> |
version(String version)
Sets the
version attribute |
public ConnectorTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectorType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface ConnectorType<T>
values
- list of description
objectsConnectorType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface ConnectorType<T>
description
public ConnectorType<T> removeAllDescription()
description
elementremoveAllDescription
in interface ConnectorType<T>
ConnectorType
public ConnectorType<T> displayName(String... values)
display-name
elements,
a new display-name
elementdisplayName
in interface ConnectorType<T>
values
- list of display-name
objectsConnectorType
public List<String> getAllDisplayName()
display-name
elementsgetAllDisplayName
in interface ConnectorType<T>
display-name
public ConnectorType<T> removeAllDisplayName()
display-name
elementremoveAllDisplayName
in interface ConnectorType<T>
ConnectorType
public IconType<ConnectorType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.getOrCreateIcon
in interface ConnectorType<T>
icon
public IconType<ConnectorType<T>> createIcon()
icon
elementcreateIcon
in interface ConnectorType<T>
IconType>
public List<IconType<ConnectorType<T>>> getAllIcon()
icon
elementsgetAllIcon
in interface ConnectorType<T>
icon
public ConnectorType<T> removeAllIcon()
icon
elementsremoveAllIcon
in interface ConnectorType<T>
IconType>
public ConnectorType<T> vendorName(String vendorName)
vendor-name
elementvendorName
in interface ConnectorType<T>
vendorName
- the value for the element vendor-name
ConnectorType
public String getVendorName()
vendor-name
elementgetVendorName
in interface ConnectorType<T>
vendor-name
public ConnectorType<T> removeVendorName()
vendor-name
elementremoveVendorName
in interface ConnectorType<T>
ConnectorType
public ConnectorType<T> eisType(String eisType)
eis-type
elementeisType
in interface ConnectorType<T>
eisType
- the value for the element eis-type
ConnectorType
public String getEisType()
eis-type
elementgetEisType
in interface ConnectorType<T>
eis-type
public ConnectorType<T> removeEisType()
eis-type
elementremoveEisType
in interface ConnectorType<T>
ConnectorType
public ConnectorType<T> resourceadapterVersion(String resourceadapterVersion)
resourceadapter-version
elementresourceadapterVersion
in interface ConnectorType<T>
resourceadapterVersion
- the value for the element resourceadapter-version
ConnectorType
public String getResourceadapterVersion()
resourceadapter-version
elementgetResourceadapterVersion
in interface ConnectorType<T>
resourceadapter-version
public ConnectorType<T> removeResourceadapterVersion()
resourceadapter-version
elementremoveResourceadapterVersion
in interface ConnectorType<T>
ConnectorType
public LicenseType<ConnectorType<T>> getOrCreateLicense()
license
element with the given value will be created.
Otherwise, the existing license
element will be returned.getOrCreateLicense
in interface ConnectorType<T>
LicenseType>
public ConnectorType<T> removeLicense()
license
elementremoveLicense
in interface ConnectorType<T>
ConnectorType
public ResourceadapterType<ConnectorType<T>> getOrCreateResourceadapter()
resourceadapter
element with the given value will be created.
Otherwise, the existing resourceadapter
element will be returned.getOrCreateResourceadapter
in interface ConnectorType<T>
ResourceadapterType>
public ConnectorType<T> removeResourceadapter()
resourceadapter
elementremoveResourceadapter
in interface ConnectorType<T>
ConnectorType
public ConnectorType<T> version(String version)
version
attributeversion
in interface ConnectorType<T>
version
- the value for the attribute version
ConnectorType
public String getVersion()
version
attributegetVersion
in interface ConnectorType<T>
version
public ConnectorType<T> removeVersion()
version
attributeremoveVersion
in interface ConnectorType<T>
ConnectorType
public ConnectorType<T> id(String id)
id
attributeid
in interface ConnectorType<T>
id
- the value for the attribute id
ConnectorType
public String getId()
id
attributegetId
in interface ConnectorType<T>
id
public ConnectorType<T> removeId()
id
attributeremoveId
in interface ConnectorType<T>
ConnectorType
Copyright © 2021 JBoss by Red Hat. All rights reserved.