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 Details

    • ConnectorImpl

      public ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • ConnectorImpl

      public ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • specVersion

      public Connector<T> specVersion(String specVersion)
      Sets the spec-version element
      Specified by:
      specVersion in interface Connector<T>
      Parameters:
      specVersion - the value for the element spec-version
      Returns:
      the current instance of Connector
    • getSpecVersion

      public String getSpecVersion()
      Returns the spec-version element
      Specified by:
      getSpecVersion in interface Connector<T>
      Returns:
      the node defined for the element spec-version
    • removeSpecVersion

      public Connector<T> removeSpecVersion()
      Removes the spec-version element
      Specified by:
      removeSpecVersion in interface Connector<T>
      Returns:
      the current instance of Connector
    • getOrCreateLicense

      public License<Connector<T>> getOrCreateLicense()
      If not already created, a new license element with the given value will be created. Otherwise, the existing license element will be returned.
      Specified by:
      getOrCreateLicense in interface Connector<T>
      Returns:
      a new or existing instance of Licenseinvalid input: '<'Connector>
    • removeLicense

      public Connector<T> removeLicense()
      Removes the license element
      Specified by:
      removeLicense in interface Connector<T>
      Returns:
      the current instance of Connector
    • displayName

      public Connector<T> displayName(String displayName)
      Sets the display-name element
      Specified by:
      displayName in interface Connector<T>
      Parameters:
      displayName - the value for the element display-name
      Returns:
      the current instance of Connector
    • getDisplayName

      public String getDisplayName()
      Returns the display-name element
      Specified by:
      getDisplayName in interface Connector<T>
      Returns:
      the node defined for the element display-name
    • removeDisplayName

      public Connector<T> removeDisplayName()
      Removes the display-name element
      Specified by:
      removeDisplayName in interface Connector<T>
      Returns:
      the current instance of Connector
    • getOrCreateIcon

      public Icon<Connector<T>> getOrCreateIcon()
      If not already created, a new icon element with the given value will be created. Otherwise, the existing icon element will be returned.
      Specified by:
      getOrCreateIcon in interface Connector<T>
      Returns:
      a new or existing instance of Iconinvalid input: '<'Connector>
    • removeIcon

      public Connector<T> removeIcon()
      Removes the icon element
      Specified by:
      removeIcon in interface Connector<T>
      Returns:
      the current instance of Connector
    • description

      public Connector<T> description(String description)
      Sets the description element
      Specified by:
      description in interface Connector<T>
      Parameters:
      description - the value for the element description
      Returns:
      the current instance of Connector
    • getDescription

      public String getDescription()
      Returns the description element
      Specified by:
      getDescription in interface Connector<T>
      Returns:
      the node defined for the element description
    • removeDescription

      public Connector<T> removeDescription()
      Removes the description element
      Specified by:
      removeDescription in interface Connector<T>
      Returns:
      the current instance of Connector
    • vendorName

      public Connector<T> vendorName(String vendorName)
      Sets the vendor-name element
      Specified by:
      vendorName in interface Connector<T>
      Parameters:
      vendorName - the value for the element vendor-name
      Returns:
      the current instance of Connector
    • getVendorName

      public String getVendorName()
      Returns the vendor-name element
      Specified by:
      getVendorName in interface Connector<T>
      Returns:
      the node defined for the element vendor-name
    • removeVendorName

      public Connector<T> removeVendorName()
      Removes the vendor-name element
      Specified by:
      removeVendorName in interface Connector<T>
      Returns:
      the current instance of Connector
    • eisType

      public Connector<T> eisType(String eisType)
      Sets the eis-type element
      Specified by:
      eisType in interface Connector<T>
      Parameters:
      eisType - the value for the element eis-type
      Returns:
      the current instance of Connector
    • getEisType

      public String getEisType()
      Returns the eis-type element
      Specified by:
      getEisType in interface Connector<T>
      Returns:
      the node defined for the element eis-type
    • removeEisType

      public Connector<T> removeEisType()
      Removes the eis-type element
      Specified by:
      removeEisType in interface Connector<T>
      Returns:
      the current instance of Connector
    • version

      public Connector<T> version(String version)
      Sets the version element
      Specified by:
      version in interface Connector<T>
      Parameters:
      version - the value for the element version
      Returns:
      the current instance of Connector
    • getVersion

      public String getVersion()
      Returns the version element
      Specified by:
      getVersion in interface Connector<T>
      Returns:
      the node defined for the element version
    • removeVersion

      public Connector<T> removeVersion()
      Removes the version element
      Specified by:
      removeVersion in interface Connector<T>
      Returns:
      the current instance of Connector
    • getOrCreateResourceadapter

      public Resourceadapter<Connector<T>> getOrCreateResourceadapter()
      If not already created, a new resourceadapter element with the given value will be created. Otherwise, the existing resourceadapter element will be returned.
      Specified by:
      getOrCreateResourceadapter in interface Connector<T>
      Returns:
      a new or existing instance of Resourceadapterinvalid input: '<'Connector>
    • removeResourceadapter

      public Connector<T> removeResourceadapter()
      Removes the resourceadapter element
      Specified by:
      removeResourceadapter in interface Connector<T>
      Returns:
      the current instance of Connector