org.apache.openejb.jee
Class DisplayName

java.lang.Object
  extended by org.apache.openejb.jee.XmlString
      extended by org.apache.openejb.jee.DisplayName

public class DisplayName
extends XmlString

[ The display-name type contains a short name that is intended to be displayed by tools. It is used by display-name elements. The display name need not be unique.

Example:

... Employee Self Service

The value of the xml:lang attribute is "en" (English) by default.

Java class for display-nameType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="display-nameType">
   <simpleContent>
     <extension base="<http://xmlns.jcp.org/xml/ns/javaee>string">
       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  String lang
           
 
Fields inherited from class org.apache.openejb.jee.XmlString
id, value
 
Constructor Summary
DisplayName()
           
 
Method Summary
 String getLang()
          Gets the value of the lang property.
 void setLang(String value)
          Sets the value of the lang property.
 
Methods inherited from class org.apache.openejb.jee.XmlString
getId, getValue, setId, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lang

protected String lang
Constructor Detail

DisplayName

public DisplayName()
Method Detail

getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.