org.eclipse.modisco.jee.ejbjar.EjbJar21
Interface DescriptionType

All Superinterfaces:
XsdStringType

public interface DescriptionType
extends XsdStringType

A representation of the model object 'Description Type'. 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).

The following features are supported:

See Also:
EjbJar21Package.getDescriptionType()
Generated:
Model:
extendedMetaData="name='descriptionType' kind='simple'"

Method Summary
 java.lang.String getLang()
          Returns the value of the 'Lang' attribute.
 void setLang(java.lang.String value)
          Sets the value of the 'Lang' attribute.
 
Methods inherited from interface org.eclipse.modisco.jee.ejbjar.EjbJar21.XsdStringType
getId, getValue, setId, setValue
 

Method Detail

getLang

java.lang.String getLang()
Returns the value of the 'Lang' attribute.

lang (as an attribute name)

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.

Notes

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 BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information.

The union allows for the 'un-declaration' of xml:lang with the empty string.

Returns:
the value of the 'Lang' attribute.
See Also:
setLang(String), EjbJar21Package.getDescriptionType_Lang()
Generated:
Model:
dataType="org.eclipse.emf.ecore.xml.namespace.LangType" extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'"

setLang

void setLang(java.lang.String value)
Sets the value of the 'Lang' attribute.

Parameters:
value - the new value of the 'Lang' attribute.
See Also:
getLang()
Generated: