com.netgrif.application.engine.importer.model.I18N Maven / Gradle / Ivy
Show all versions of application-engine Show documentation
package com.netgrif.application.engine.importer.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for i18n complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="i18n">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="i18nString" type="{}i18nStringType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="locale" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "i18n", propOrder = {
"i18NString"
})
public class I18N {
@XmlElement(name = "i18nString")
protected List i18NString;
@XmlAttribute(name = "locale")
@XmlSchemaType(name = "anySimpleType")
protected String locale;
/**
* Gets the value of the i18NString 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 i18NString property.
*
*
* For example, to add a new item, do as follows:
*
* getI18NString().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link I18NStringType }
*
*
*/
public List getI18NString() {
if (i18NString == null) {
i18NString = new ArrayList();
}
return this.i18NString;
}
/**
* Gets the value of the locale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocale() {
return locale;
}
/**
* Sets the value of the locale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocale(String value) {
this.locale = value;
}
}