net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100
Class DisplayNameType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.DisplayNameType
All Implemented Interfaces:
Serializable, Cloneable

public class DisplayNameType
extends Object
implements Serializable, Cloneable

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: ...

 <?xml version="1.0" encoding="UTF-8"?><display-name xmlns="http://www.w3.org/2001/XMLSchema" xmlns:portlet="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">Employee Self Service</display-name>
 
It has an optional attribute xml:lang to indicate which language is used in the description according to RFC 1766 (http://www.ietf.org/rfc/rfc1766.txt). The default value of this attribute is English(“en”).

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://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd>string">
       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
     </extension>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String lang
           
protected  String value
           
 
Constructor Summary
DisplayNameType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.DisplayNameType instance.
DisplayNameType(DisplayNameType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.DisplayNameType instance by copying a given instance.
 
Method Summary
 DisplayNameType clone()
          Creates and returns a copy of this object.
 String getLang()
          Gets the value of the lang property.
 String getValue()
          This is a special string datatype that is defined by J2EE as a base type for defining collapsed strings.
 void setLang(String value)
          Sets the value of the lang property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

lang

protected String lang
Constructor Detail

DisplayNameType

public DisplayNameType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.DisplayNameType instance.


DisplayNameType

public DisplayNameType(DisplayNameType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.DisplayNameType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getValue

public String getValue()
This is a special string datatype that is defined by J2EE as a base type for defining collapsed strings. When schemas require trailing/leading space elimination as well as collapsing the existing whitespace, this base type may be used.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

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

clone

public DisplayNameType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.