org.jboss.shrinkwrap.descriptor.api.javaee5.MessageDestinationRefType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.javaee5;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee5.MessageDestinationUsageType;
import org.jboss.shrinkwrap.descriptor.api.javaee5.InjectionTargetType;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
* This interface defines the contract for the message-destination-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface MessageDestinationRefType extends Child,
JavaeeMessageDestinationRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: xsd:string ElementType : mapped-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the mapped-name
element
* @param mappedName the value for the element mapped-name
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType mappedName(String mappedName);
/**
* Returns the mapped-name
element
* @return the node defined for the element mapped-name
*/
public String getMappedName();
/**
* Removes the mapped-name
element
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeMappedName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: javaee:injection-targetType ElementType : injection-target
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new injection-target
element will be created and returned.
* Otherwise, the first existing injection-target
element will be returned.
* @return the instance defined for the element injection-target
*/
public InjectionTargetType> getOrCreateInjectionTarget();
/**
* Creates a new injection-target
element
* @return the new created instance of InjectionTargetType>
*/
public InjectionTargetType> createInjectionTarget();
/**
* Returns all injection-target
elements
* @return list of injection-target
*/
public List>> getAllInjectionTarget();
/**
* Removes all injection-target
elements
* @return the current instance of InjectionTargetType>
*/
public MessageDestinationRefType removeAllInjectionTarget();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: xsd:token ElementType : message-destination-ref-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the message-destination-ref-name
element
* @param messageDestinationRefName the value for the element message-destination-ref-name
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType messageDestinationRefName(String messageDestinationRefName);
/**
* Returns the message-destination-ref-name
element
* @return the node defined for the element message-destination-ref-name
*/
public String getMessageDestinationRefName();
/**
* Removes the message-destination-ref-name
element
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeMessageDestinationRefName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: javaee:fully-qualified-classType ElementType : message-destination-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the message-destination-type
element
* @param messageDestinationType the value for the element message-destination-type
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType messageDestinationType(String messageDestinationType);
/**
* Returns the message-destination-type
element
* @return the node defined for the element message-destination-type
*/
public String getMessageDestinationType();
/**
* Removes the message-destination-type
element
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeMessageDestinationType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: javaee:message-destination-usageType ElementType : message-destination-usage
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the message-destination-usage
element
* @param messageDestinationUsage the value for the element message-destination-usage
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType messageDestinationUsage(MessageDestinationUsageType messageDestinationUsage);
/**
* Sets the message-destination-usage
element
* @param messageDestinationUsage the value for the element message-destination-usage
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType messageDestinationUsage(String messageDestinationUsage);
/**
* Returns the message-destination-usage
element
* @return the value found for the element message-destination-usage
*/
public MessageDestinationUsageType getMessageDestinationUsage();
/**
* Returns the message-destination-usage
element
* @return the value found for the element message-destination-usage
*/
public String getMessageDestinationUsageAsString();
/**
* Removes the message-destination-usage
attribute
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeMessageDestinationUsage();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType ElementName: xsd:token ElementType : message-destination-link
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the message-destination-link
element
* @param messageDestinationLink the value for the element message-destination-link
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType messageDestinationLink(String messageDestinationLink);
/**
* Returns the message-destination-link
element
* @return the node defined for the element message-destination-link
*/
public String getMessageDestinationLink();
/**
* Removes the message-destination-link
element
* @return the current instance of MessageDestinationRefType
*/
public MessageDestinationRefType removeMessageDestinationLink();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MessageDestinationRefType 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 MessageDestinationRefType
*/
public MessageDestinationRefType 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 MessageDestinationRefType
*/
public MessageDestinationRefType removeId();
}