org.jboss.shrinkwrap.descriptor.api.javaee7.JmsDestinationType 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-destinationType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface JmsDestinationType extends Child,
JavaeeJmsDestinationCommonType,
PropertyType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeInterfaceName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeClassName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeResourceAdapter();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType ElementName: xsd:token ElementType : destination-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the destination-name
element
* @param destinationName the value for the element destination-name
* @return the current instance of JmsDestinationType
*/
public JmsDestinationType destinationName(String destinationName);
/**
* Returns the destination-name
element
* @return the node defined for the element destination-name
*/
public String getDestinationName();
/**
* Removes the destination-name
element
* @return the current instance of JmsDestinationType
*/
public JmsDestinationType removeDestinationName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType removeAllProperty();
// --------------------------------------------------------------------------------------------------------||
// ClassName: JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType 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 JmsDestinationType
*/
public JmsDestinationType removeId();
}