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

xmpp.langtrans.items.Item 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.items;

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:items>empty">
 *       <attribute name="dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="destination_lang" type="{http://www.w3.org/2001/XMLSchema}language" />
 *       <attribute name="engine" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="jid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="pivotable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="source_lang" use="required" type="{http://www.w3.org/2001/XMLSchema}language" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @XmlRootElement(name = "item") public class Item { @XmlValue protected String value; @XmlAttribute(name = "dictionary") protected String dictionary; @XmlAttribute(name = "destination_lang") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String destinationLang; @XmlAttribute(name = "engine") protected String engine; @XmlAttribute(name = "jid", required = true) protected String jid; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "pivotable") protected Boolean pivotable; @XmlAttribute(name = "source_lang", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String sourceLang; /** * 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 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 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 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 jid property. * * @return * possible object is * {@link String } * */ public String getJid() { return jid; } /** * Sets the value of the jid property. * * @param value * allowed object is * {@link String } * */ public void setJid(String value) { this.jid = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the pivotable property. * * @return * possible object is * {@link Boolean } * */ public boolean isPivotable() { if (pivotable == null) { return false; } else { return pivotable; } } /** * Sets the value of the pivotable property. * * @param value * allowed object is * {@link Boolean } * */ public void setPivotable(Boolean value) { this.pivotable = 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy