net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container
Class Texts

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container.Texts
All Implemented Interfaces:
Serializable, Cloneable

public class Texts
extends Object
implements Serializable, Cloneable

List of text language pairs.

Java class for Texts complex type.

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

 <complexType name="Texts">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://jdtaus.org/core/model/container}text" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="defaultLanguage" use="required" type="{http://www.w3.org/2001/XMLSchema}language" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String defaultLanguage
           
protected  List<Text> text
           
 
Constructor Summary
Texts()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container.Texts instance.
Texts(Texts o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container.Texts instance by copying a given instance.
 
Method Summary
 Texts clone()
          Creates and returns a copy of this object.
protected static void copyText(List<Text> source, List<Text> target)
          Copies all values of property Text.
 String getDefaultLanguage()
          Gets the value of the defaultLanguage property.
 List<Text> getText()
          Gets the value of the text property.
 void setDefaultLanguage(String value)
          Sets the value of the defaultLanguage property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected List<Text> text

defaultLanguage

protected String defaultLanguage
Constructor Detail

Texts

public Texts()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container.Texts instance.


Texts

public Texts(Texts o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.jdtaus.container.Texts instance by copying a given instance.

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

getText

public List<Text> getText()
Gets the value of the text property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the text property.

For example, to add a new item, do as follows:

    getText().add(newItem);
 

Objects of the following type(s) are allowed in the list Text


getDefaultLanguage

public String getDefaultLanguage()
Gets the value of the defaultLanguage property.

Returns:
possible object is String

setDefaultLanguage

public void setDefaultLanguage(String value)
Sets the value of the defaultLanguage property.

Parameters:
value - allowed object is String

copyText

protected static void copyText(List<Text> source,
                               List<Text> target)
Copies all values of property Text.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public Texts 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.