blob: 9c6c2f13d44c26f9b5458976c1248a1b7efbd590 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.javaee.core;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Description</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
*
* The description type is used by a description element to
* provide text describing the parent element. The elements
* that use this type should include any information that the
* Deployment Component's Deployment File file producer wants
* to provide to the consumer of the Deployment Component's
* Deployment File (i.e., to the Deployer). Typically, the
* tools used by such a Deployment File consumer will display
* the description when processing the parent element that
* contains the description.
*
* The lang attribute defines the language that the
* description is provided in. The default value is "en" (English).
*
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jst.javaee.core.Description#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.jst.javaee.core.Description#getLang <em>Lang</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription()
* @extends JavaEEObject
* @generated
*/
public interface Description extends JavaEEObject {
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(String)
* @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription_Value()
* @generated
*/
String getValue();
/**
* Sets the value of the '{@link org.eclipse.jst.javaee.core.Description#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(String value);
/**
* Returns the value of the '<em><b>Lang</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Attempting to install the relevant ISO 2- and 3-letter
* codes as the enumerated possible values is probably never
* going to be a realistic possibility. See
* RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
* at http://www.iana.org/assignments/lang-tag-apps.htm for
* further information.
*
* The union allows for the 'un-declaration' of xml:lang with
* the empty string.
* <!-- end-model-doc -->
* @return the value of the '<em>Lang</em>' attribute.
* @see #setLang(String)
* @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription_Lang()
* @generated
*/
String getLang();
/**
* Sets the value of the '{@link org.eclipse.jst.javaee.core.Description#getLang <em>Lang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lang</em>' attribute.
* @see #getLang()
* @generated
*/
void setLang(String value);
} // Description