org.jomc.model
Class Text

Package class diagram package Text
java.lang.Object
  extended by org.jomc.model.Text
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Text
extends Object
implements Cloneable

Model of text. The 'Text' type defines attributes 'language' and 'value'. Attribute 'language' holds the language key identifying the text in a set of texts. Attribute 'value' holds the text corresponding to that language.

Java class for Text complex type.

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

 <complexType name="Text">
   <simpleContent>
     <extension base="<http://jomc.org/model>String">
       <attribute name="language" use="required" type="{http://jomc.org/model}Language" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  String language
           
protected  String value
           
 
Constructor Summary
Text()
          Creates a new Text instance.
Text(Text o)
          Creates a new Text instance by deeply copying a given Text instance.
 
Method Summary
 Text clone()
          Creates and returns a deep copy of this object.
 String getLanguage()
          The language key of this text.
 String getValue()
          Gets the value of the value property.
 void setLanguage(String value)
          Sets the value of the language 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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String value

language

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String language
Constructor Detail

Text

public Text()
Creates a new Text instance.


Text

public Text(Text o)
Creates a new Text instance by deeply copying a given Text instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getLanguage

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getLanguage()
The language key of this text.

Returns:
possible object is String

setLanguage

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setLanguage(String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Text clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.