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 Detail

      • specVersion

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

        String getSpecVersion()
        Returns the spec-version element
        Returns:
        the node defined for the element spec-version
      • removeSpecVersion

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

        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.
        Returns:
        a new or existing instance of License>
      • removeLicense

        Connector<T> removeLicense()
        Removes the license element
        Returns:
        the current instance of Connector
      • displayName

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

        String getDisplayName()
        Returns the display-name element
        Returns:
        the node defined for the element display-name
      • removeDisplayName

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

        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.
        Returns:
        a new or existing instance of Icon>
      • removeIcon

        Connector<T> removeIcon()
        Removes the icon element
        Returns:
        the current instance of Connector
      • description

        Connector<T> description​(String description)
        Sets the description element
        Parameters:
        description - the value for the element description
        Returns:
        the current instance of Connector
      • getDescription

        String getDescription()
        Returns the description element
        Returns:
        the node defined for the element description
      • removeDescription

        Connector<T> removeDescription()
        Removes the description element
        Returns:
        the current instance of Connector
      • vendorName

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

        String getVendorName()
        Returns the vendor-name element
        Returns:
        the node defined for the element vendor-name
      • removeVendorName

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

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

        String getEisType()
        Returns the eis-type element
        Returns:
        the node defined for the element eis-type
      • removeEisType

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

        Connector<T> version​(String version)
        Sets the version element
        Parameters:
        version - the value for the element version
        Returns:
        the current instance of Connector
      • getVersion

        String getVersion()
        Returns the version element
        Returns:
        the node defined for the element version
      • removeVersion

        Connector<T> removeVersion()
        Removes the version element
        Returns:
        the current instance of Connector
      • getOrCreateResourceadapter

        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.
        Returns:
        a new or existing instance of Resourceadapter>
      • removeResourceadapter

        Connector<T> removeResourceadapter()
        Removes the resourceadapter element
        Returns:
        the current instance of Connector