org.jboss.shrinkwrap.descriptor.api.javaee7.JmsConnectionFactoryType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.javaee7;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PropertyType;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
* This interface defines the contract for the jms-connection-factoryType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface JmsConnectionFactoryType extends Child,
JavaeeJmsConnectionFactoryCommonType,
PropertyType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:string ElementType : description
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the description
element
* @param description the value for the element description
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType description(String description);
/**
* Returns the description
element
* @return the node defined for the element description
*/
public String getDescription();
/**
* Removes the description
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
element
* @param name the value for the element name
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType name(String name);
/**
* Returns the name
element
* @return the node defined for the element name
*/
public String getName();
/**
* Removes the name
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : interface-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the interface-name
element
* @param interfaceName the value for the element interface-name
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType interfaceName(String interfaceName);
/**
* Returns the interface-name
element
* @return the node defined for the element interface-name
*/
public String getInterfaceName();
/**
* Removes the interface-name
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeInterfaceName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : class-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the class-name
element
* @param className the value for the element class-name
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType className(String className);
/**
* Returns the class-name
element
* @return the node defined for the element class-name
*/
public String getClassName();
/**
* Removes the class-name
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeClassName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : resource-adapter
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the resource-adapter
element
* @param resourceAdapter the value for the element resource-adapter
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType resourceAdapter(String resourceAdapter);
/**
* Returns the resource-adapter
element
* @return the node defined for the element resource-adapter
*/
public String getResourceAdapter();
/**
* Removes the resource-adapter
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeResourceAdapter();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : user
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the user
element
* @param user the value for the element user
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType user(String user);
/**
* Returns the user
element
* @return the node defined for the element user
*/
public String getUser();
/**
* Removes the user
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeUser();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : password
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the password
element
* @param password the value for the element password
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType password(String password);
/**
* Returns the password
element
* @return the node defined for the element password
*/
public String getPassword();
/**
* Removes the password
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removePassword();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:token ElementType : client-id
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the client-id
element
* @param clientId the value for the element client-id
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType clientId(String clientId);
/**
* Returns the client-id
element
* @return the node defined for the element client-id
*/
public String getClientId();
/**
* Removes the client-id
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeClientId();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: javaee:propertyType ElementType : property
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new property
element will be created and returned.
* Otherwise, the first existing property
element will be returned.
* @return the instance defined for the element property
*/
public PropertyType> getOrCreateProperty();
/**
* Creates a new property
element
* @return the new created instance of PropertyType>
*/
public PropertyType> createProperty();
/**
* Returns all property
elements
* @return list of property
*/
public List>> getAllProperty();
/**
* Removes all property
elements
* @return the current instance of PropertyType>
*/
public JmsConnectionFactoryType removeAllProperty();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:boolean ElementType : transactional
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the transactional
element
* @param transactional the value for the element transactional
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType transactional(Boolean transactional);
/**
* Returns the transactional
element
* @return the node defined for the element transactional
*/
public Boolean isTransactional();
/**
* Removes the transactional
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeTransactional();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:integer ElementType : max-pool-size
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the max-pool-size
element
* @param maxPoolSize the value for the element max-pool-size
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType maxPoolSize(Integer maxPoolSize);
/**
* Returns the max-pool-size
element
* @return the node defined for the element max-pool-size
*/
public Integer getMaxPoolSize();
/**
* Removes the max-pool-size
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeMaxPoolSize();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:integer ElementType : min-pool-size
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the min-pool-size
element
* @param minPoolSize the value for the element min-pool-size
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType minPoolSize(Integer minPoolSize);
/**
* Returns the min-pool-size
element
* @return the node defined for the element min-pool-size
*/
public Integer getMinPoolSize();
/**
* Removes the min-pool-size
element
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeMinPoolSize();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsConnectionFactoryType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of JmsConnectionFactoryType
*/
public JmsConnectionFactoryType removeId();
}