All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xmpp.langtrans.Translation Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.10.04 at 01:10:24 PM KST 
//


package xmpp.langtrans;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <simpleContent>
 *     <extension base="<urn:xmpp:langtrans>empty">
 *       <attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="source_lang" type="{http://www.w3.org/2001/XMLSchema}language" />
 *       <attribute name="destination_lang" use="required" type="{http://www.w3.org/2001/XMLSchema}language" />
 *       <attribute name="dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="engine" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="reviewed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @XmlRootElement(name = "translation") public class Translation { @XmlValue protected String value; @XmlAttribute(name = "charset") protected String charset; @XmlAttribute(name = "source_lang") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String sourceLang; @XmlAttribute(name = "destination_lang", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String destinationLang; @XmlAttribute(name = "dictionary") protected String dictionary; @XmlAttribute(name = "engine") protected String engine; @XmlAttribute(name = "reviewed") protected Boolean reviewed; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the charset property. * * @return * possible object is * {@link String } * */ public String getCharset() { return charset; } /** * Sets the value of the charset property. * * @param value * allowed object is * {@link String } * */ public void setCharset(String value) { this.charset = value; } /** * Gets the value of the sourceLang property. * * @return * possible object is * {@link String } * */ public String getSourceLang() { return sourceLang; } /** * Sets the value of the sourceLang property. * * @param value * allowed object is * {@link String } * */ public void setSourceLang(String value) { this.sourceLang = value; } /** * Gets the value of the destinationLang property. * * @return * possible object is * {@link String } * */ public String getDestinationLang() { return destinationLang; } /** * Sets the value of the destinationLang property. * * @param value * allowed object is * {@link String } * */ public void setDestinationLang(String value) { this.destinationLang = value; } /** * Gets the value of the dictionary property. * * @return * possible object is * {@link String } * */ public String getDictionary() { return dictionary; } /** * Sets the value of the dictionary property. * * @param value * allowed object is * {@link String } * */ public void setDictionary(String value) { this.dictionary = value; } /** * Gets the value of the engine property. * * @return * possible object is * {@link String } * */ public String getEngine() { return engine; } /** * Sets the value of the engine property. * * @param value * allowed object is * {@link String } * */ public void setEngine(String value) { this.engine = value; } /** * Gets the value of the reviewed property. * * @return * possible object is * {@link Boolean } * */ public boolean isReviewed() { if (reviewed == null) { return false; } else { return reviewed; } } /** * Sets the value of the reviewed property. * * @param value * allowed object is * {@link Boolean } * */ public void setReviewed(Boolean value) { this.reviewed = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy