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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.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  Text[] text
           
 
Constructor Summary
Texts()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jdtaus.container.Texts instance.
Texts(Texts o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jdtaus.container.Texts instance by copying a given instance.
 
Method Summary
 Texts clone()
          Creates and returns a copy of this object.
protected  void copyText(Text[] source)
          Copies all values of property Text.
 String getDefaultLanguage()
          Gets the value of the defaultLanguage property.
 Text[] getText()
           
 Text getText(int idx)
           
 int getTextLength()
           
 void setDefaultLanguage(String value)
          Sets the value of the defaultLanguage property.
 Text setText(int idx, Text value)
           
 void setText(Text[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected Text[] text

defaultLanguage

protected String defaultLanguage
Constructor Detail

Texts

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


Texts

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

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

getText

public Text[] getText()
Returns:
array of Text

getText

public Text getText(int idx)
Returns:
one of Text

getTextLength

public int getTextLength()

setText

public void setText(Text[] values)
Parameters:
values - allowed objects are Text

setText

public Text setText(int idx,
                    Text value)
Parameters:
value - allowed object is 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 void copyText(Text[] source)
Copies all values of property Text.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source 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.