net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.jdtaus.container
Interface Texts

All Known Implementing Classes:
TextsImpl

public interface Texts

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>
 


Method Summary
 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.
 

Method Detail

getText

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

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

Returns:
possible object is String

setDefaultLanguage

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

Parameters:
value - allowed object is String


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