Class 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 Detail

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

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