Class ConnectorTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector16.ConnectorTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectorType<T>

public class ConnectorTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectorType<T>
This class implements the connectorType xsd type
  • Constructor Details

    • ConnectorTypeImpl

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

      public ConnectorTypeImpl(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>
    • description

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

      public List<String> getAllDescription()
      Returns all description elements
      Specified by:
      getAllDescription in interface ConnectorType<T>
      Returns:
      list of description
    • removeAllDescription

      public ConnectorType<T> removeAllDescription()
      Removes the description element
      Specified by:
      removeAllDescription in interface ConnectorType<T>
      Returns:
      the current instance of ConnectorType
    • displayName

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

      public List<String> getAllDisplayName()
      Returns all display-name elements
      Specified by:
      getAllDisplayName in interface ConnectorType<T>
      Returns:
      list of display-name
    • removeAllDisplayName

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

      public 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.
      Specified by:
      getOrCreateIcon in interface ConnectorType<T>
      Returns:
      the instance defined for the element icon
    • createIcon

      public IconType<ConnectorType<T>> createIcon()
      Creates a new icon element
      Specified by:
      createIcon in interface ConnectorType<T>
      Returns:
      the new created instance of IconType<ConnectorType>
    • getAllIcon

      public List<IconType<ConnectorType<T>>> getAllIcon()
      Returns all icon elements
      Specified by:
      getAllIcon in interface ConnectorType<T>
      Returns:
      list of icon
    • removeAllIcon

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

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

      public String getModuleName()
      Returns the module-name element
      Specified by:
      getModuleName in interface ConnectorType<T>
      Returns:
      the node defined for the element module-name
    • removeModuleName

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

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

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

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

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

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

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

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

      public String getResourceadapterVersion()
      Returns the resourceadapter-version element
      Specified by:
      getResourceadapterVersion in interface ConnectorType<T>
      Returns:
      the node defined for the element resourceadapter-version
    • removeResourceadapterVersion

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

      public 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.
      Specified by:
      getOrCreateLicense in interface ConnectorType<T>
      Returns:
      a new or existing instance of LicenseType<ConnectorType>
    • removeLicense

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

      public 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.
      Specified by:
      getOrCreateResourceadapter in interface ConnectorType<T>
      Returns:
      a new or existing instance of ResourceadapterType<ConnectorType>
    • removeResourceadapter

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

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

      public List<String> getAllRequiredWorkContext()
      Returns all required-work-context elements
      Specified by:
      getAllRequiredWorkContext in interface ConnectorType<T>
      Returns:
      list of required-work-context
    • removeAllRequiredWorkContext

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

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

      public String getVersion()
      Returns the version attribute
      Specified by:
      getVersion in interface ConnectorType<T>
      Returns:
      the value defined for the attribute version
    • removeVersion

      public ConnectorType<T> removeVersion()
      Removes the version attribute
      Specified by:
      removeVersion in interface ConnectorType<T>
      Returns:
      the current instance of ConnectorType
    • metadataComplete

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

      public Boolean isMetadataComplete()
      Returns the metadata-complete attribute
      Specified by:
      isMetadataComplete in interface ConnectorType<T>
      Returns:
      the value defined for the attribute metadata-complete
    • removeMetadataComplete

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

      public ConnectorType<T> id(String id)
      Sets the id attribute
      Specified by:
      id in interface ConnectorType<T>
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of ConnectorType
    • getId

      public String getId()
      Returns the id attribute
      Specified by:
      getId in interface ConnectorType<T>
      Returns:
      the value defined for the attribute id
    • removeId

      public ConnectorType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface ConnectorType<T>
      Returns:
      the current instance of ConnectorType