blob: 9fcd885e67dfa9c554db68fdcd20752470e43298 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2019 IBM Corporation and others.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/**
* <copyright>
* </copyright>
*
* $Id: Description.java,v 1.1 2010/03/18 06:24:36 cbateman Exp $
*/
package org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
/**
* <!-- 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.jsf.facelet.core.internal.registry.taglib.faceletTaglib.Description#getAny <em>Any</em>}</li>
* <li>{@link org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.Description#getId <em>Id</em>}</li>
* <li>{@link org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.Description#getLang <em>Lang</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.FaceletTaglibPackage#getDescription()
* @model extendedMetaData="name='descriptionType' kind='simple'"
* @generated
*/
public interface Description extends EObject
{
/**
* Returns the value of the '<em><b>Any</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Any</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Any</em>' attribute list.
* @see org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.FaceletTaglibPackage#getDescription_Any()
* @model dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="name=':0' kind='elementWildcard' processing='lax'"
* @generated
*/
FeatureMap getAny();
/**
* 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.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.FaceletTaglibPackage#getDescription_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.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.Description#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);
/**
* Returns the value of the '<em><b>Lang</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <div xmlns="http://www.w3.org/1999/xhtml">
*
* <h3>lang (as an attribute name)</h3>
* <p>
* denotes an attribute whose value
* is a language code for the natural language of the content of
* any element; its value is inherited. This name is reserved
* by virtue of its definition in the XML specification.</p>
*
* </div>
* <div xmlns="http://www.w3.org/1999/xhtml">
* <h4>Notes</h4>
* <p>
* 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.
* </p>
* <p>
* See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
* and the IANA language subtag registry at
* <a href="http://www.iana.org/assignments/language-subtag-registry">
* http://www.iana.org/assignments/language-subtag-registry</a>
* for further information.
* </p>
* <p>
* The union allows for the 'un-declaration' of xml:lang with
* the empty string.
* </p>
* </div>
*
* <!-- end-model-doc -->
* @return the value of the '<em>Lang</em>' attribute.
* @see #setLang(String)
* @see org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.FaceletTaglibPackage#getDescription_Lang()
* @model extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'"
* @generated
*/
String getLang();
/**
* Sets the value of the '{@link org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.faceletTaglib.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
}