blob: 0594eafbf7bae2c665369d7bd215085840f3cbe8 [file] [log] [blame]
/**
* Copyright (c) 2010 Mia-Software.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Nicolas Guyomar (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.jee.webapp.webapp25;
import java.lang.String;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Message Destination Type</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* <![CDATA[
*
* The message-destinationType specifies a message
* destination. The logical destination described by this
* element is mapped to a physical destination by the Deployer.
*
* The message destination element contains:
*
* - an optional description
* - an optional display-name
* - an optional icon
* - a message destination name which must be unique
* among message destination names within the same
* Deployment File.
* - an optional mapped name
*
* Example:
*
* <message-destination>
* <message-destination-name>CorporateStocks
* </message-destination-name>
* </message-destination>
*
* ]]>
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getDisplayName <em>Display Name</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getIcon <em>Icon</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getMessageDestinationName <em>Message Destination Name</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getMappedName <em>Mapped Name</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType()
* @model extendedMetaData="name='message-destinationType' kind='elementOnly'"
* @generated
*/
public interface MessageDestinationType extends EObject {
/**
* Returns the value of the '<em><b>Description</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.modisco.jee.webapp.webapp25.DescriptionType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' containment reference list.
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_Description()
* @model containment="true"
* extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
EList<DescriptionType> getDescription();
/**
* Returns the value of the '<em><b>Display Name</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.modisco.jee.webapp.webapp25.DisplayNameType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Display Name</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Display Name</em>' containment reference list.
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_DisplayName()
* @model containment="true"
* extendedMetaData="kind='element' name='display-name' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
EList<DisplayNameType> getDisplayName();
/**
* Returns the value of the '<em><b>Icon</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.modisco.jee.webapp.webapp25.IconType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Icon</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Icon</em>' containment reference list.
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_Icon()
* @model containment="true"
* extendedMetaData="kind='element' name='icon' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
EList<IconType> getIcon();
/**
* Returns the value of the '<em><b>Message Destination Name</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
*
* The message-destination-name element specifies a
* name for a message destination. This name must be
* unique among the names of message destinations
* within the Deployment File.
*
*
* <!-- end-model-doc -->
* @return the value of the '<em>Message Destination Name</em>' containment reference.
* @see #setMessageDestinationName(org.eclipse.modisco.jee.webapp.webapp25.String)
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_MessageDestinationName()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='message-destination-name' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
org.eclipse.modisco.jee.webapp.webapp25.String getMessageDestinationName();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getMessageDestinationName <em>Message Destination Name</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Message Destination Name</em>' containment reference.
* @see #getMessageDestinationName()
* @generated
*/
void setMessageDestinationName(org.eclipse.modisco.jee.webapp.webapp25.String value);
/**
* Returns the value of the '<em><b>Mapped Name</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <![CDATA[
*
* A product specific name that this message destination
* should be mapped to. Each message-destination-ref
* element that references this message destination will
* define a name in the namespace of the referencing
* component. (It's a name in the JNDI java:comp/env
* namespace.) Many application servers provide a way to
* map these local names to names of resources known to the
* application server. This mapped name is often a global
* JNDI name, but may be a name of any form. Each of the
* local names should be mapped to this same global name.
*
* Application servers are not required to support any
* particular form or type of mapped name, nor the ability
* to use mapped names. The mapped name is
* product-dependent and often installation-dependent. No
* use of a mapped name is portable.
*
* ]]>
*
* <!-- end-model-doc -->
* @return the value of the '<em>Mapped Name</em>' containment reference.
* @see #setMappedName(XsdStringType)
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_MappedName()
* @model containment="true"
* extendedMetaData="kind='element' name='mapped-name' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
XsdStringType getMappedName();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getMappedName <em>Mapped Name</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mapped Name</em>' containment reference.
* @see #getMappedName()
* @generated
*/
void setMappedName(XsdStringType value);
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getMessageDestinationType_Id()
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
* extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.MessageDestinationType#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
} // MessageDestinationType