net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200
Class DescriptionType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.DescriptionType
All Implemented Interfaces:
Serializable, Cloneable

public class DescriptionType
extends Object
implements Serializable, Cloneable

The description element is used to provide text describing the parent element. The description element should include any information that the portlet application war file producer wants to provide to the consumer of the portlet application war file (i.e., to the Deployer). Typically, the tools used by the portlet application war file consumer will display the description when processing the parent element that contains the description. 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”). Used in: init-param, portlet, portlet-app, security-role

Java class for descriptionType complex type.

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

 <complexType name="descriptionType">
   <simpleContent>
     <extension base="<http://java.sun.com/xml/ns/portlet/portlet-app_2_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
DescriptionType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.DescriptionType instance.
DescriptionType(DescriptionType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.DescriptionType instance by copying a given instance.
 
Method Summary
 DescriptionType 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 JavaEE 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

DescriptionType

public DescriptionType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.DescriptionType instance.


DescriptionType

public DescriptionType(DescriptionType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.DescriptionType 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 JavaEE 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 DescriptionType 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.