net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl
Class TextsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.TextsImpl
All Implemented Interfaces:
Serializable, Cloneable, Texts

public class TextsImpl
extends Object
implements Serializable, Cloneable, Texts

See Also:
Serialized Form

Field Summary
protected  String defaultLanguage
           
protected  List<Text> text
           
 
Constructor Summary
TextsImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.TextsImpl instance.
TextsImpl(TextsImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.TextsImpl instance by copying a given instance.
 
Method Summary
 TextsImpl clone()
          Creates and returns a copy of this object.
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

TextsImpl

public TextsImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.TextsImpl instance.


TextsImpl

public TextsImpl(TextsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.jdtaus.container.impl.TextsImpl instance by copying a given instance.

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

getText

public List<Text> getText()
Description copied from interface: Texts
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

Specified by:
getText in interface Texts

getDefaultLanguage

public String getDefaultLanguage()
Description copied from interface: Texts
Gets the value of the defaultLanguage property.

Specified by:
getDefaultLanguage in interface Texts
Returns:
possible object is String

setDefaultLanguage

public void setDefaultLanguage(String value)
Description copied from interface: Texts
Sets the value of the defaultLanguage property.

Specified by:
setDefaultLanguage in interface Texts
Parameters:
value - allowed object is String

copyText

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