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
    • Method Detail

      • description

        ConnectorType<T> description​(String... values)
        Creates for all String objects representing description elements, a new description element
        Parameters:
        values - list of description objects
        Returns:
        the current instance of ConnectorType
      • getAllDescription

        List<String> getAllDescription()
        Returns all description elements
        Returns:
        list of description
      • removeAllDescription

        ConnectorType<T> removeAllDescription()
        Removes the description element
        Returns:
        the current instance of ConnectorType
      • displayName

        ConnectorType<T> displayName​(String... values)
        Creates for all String objects representing display-name elements, a new display-name element
        Parameters:
        values - list of display-name objects
        Returns:
        the current instance of ConnectorType
      • getAllDisplayName

        List<String> getAllDisplayName()
        Returns all display-name elements
        Returns:
        list of display-name
      • removeAllDisplayName

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

        IconType<ConnectorType<T>> getOrCreateIcon()
        If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.
        Returns:
        the instance defined for the element icon
      • createIcon

        IconType<ConnectorType<T>> createIcon()
        Creates a new icon element
        Returns:
        the new created instance of IconType>
      • removeAllIcon

        ConnectorType<T> removeAllIcon()
        Removes all icon elements
        Returns:
        the current instance of IconType>
      • moduleName

        ConnectorType<T> moduleName​(String moduleName)
        Sets the module-name element
        Parameters:
        moduleName - the value for the element module-name
        Returns:
        the current instance of ConnectorType
      • getModuleName

        String getModuleName()
        Returns the module-name element
        Returns:
        the node defined for the element module-name
      • removeModuleName

        ConnectorType<T> removeModuleName()
        Removes the module-name element
        Returns:
        the current instance of ConnectorType
      • vendorName

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

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

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

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

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

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

        ConnectorType<T> resourceadapterVersion​(String resourceadapterVersion)
        Sets the resourceadapter-version element
        Parameters:
        resourceadapterVersion - the value for the element resourceadapter-version
        Returns:
        the current instance of ConnectorType
      • getResourceadapterVersion

        String getResourceadapterVersion()
        Returns the resourceadapter-version element
        Returns:
        the node defined for the element resourceadapter-version
      • removeResourceadapterVersion

        ConnectorType<T> removeResourceadapterVersion()
        Removes the resourceadapter-version element
        Returns:
        the current instance of ConnectorType
      • getOrCreateLicense

        LicenseType<ConnectorType<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 LicenseType>
      • removeLicense

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

        ResourceadapterType<ConnectorType<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 ResourceadapterType>
      • removeResourceadapter

        ConnectorType<T> removeResourceadapter()
        Removes the resourceadapter element
        Returns:
        the current instance of ConnectorType
      • requiredWorkContext

        ConnectorType<T> requiredWorkContext​(String... values)
        Creates for all String objects representing required-work-context elements, a new required-work-context element
        Parameters:
        values - list of required-work-context objects
        Returns:
        the current instance of ConnectorType
      • getAllRequiredWorkContext

        List<String> getAllRequiredWorkContext()
        Returns all required-work-context elements
        Returns:
        list of required-work-context
      • removeAllRequiredWorkContext

        ConnectorType<T> removeAllRequiredWorkContext()
        Removes the required-work-context element
        Returns:
        the current instance of ConnectorType
      • version

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

        String getVersion()
        Returns the version attribute
        Returns:
        the value defined for the attribute version
      • removeVersion

        ConnectorType<T> removeVersion()
        Removes the version attribute
        Returns:
        the current instance of ConnectorType
      • metadataComplete

        ConnectorType<T> metadataComplete​(Boolean metadataComplete)
        Sets the metadata-complete attribute
        Parameters:
        metadataComplete - the value for the attribute metadata-complete
        Returns:
        the current instance of ConnectorType
      • isMetadataComplete

        Boolean isMetadataComplete()
        Returns the metadata-complete attribute
        Returns:
        the value defined for the attribute metadata-complete
      • removeMetadataComplete

        ConnectorType<T> removeMetadataComplete()
        Removes the metadata-complete attribute
        Returns:
        the current instance of ConnectorType
      • id

        ConnectorType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of ConnectorType
      • getId

        String getId()
        Returns the id attribute
        Returns:
        the value defined for the attribute id
      • removeId

        ConnectorType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of ConnectorType