package org.teiid.designer.extension.convertor.mxd; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; 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; /** * Identifies the extended properties display text for one or more languages. * * <p>Java class for displayType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="displayType"> * <simpleContent> * <extension base="<http://www.jboss.org/teiiddesigner/ext/2012>nonEmptyString"> * <attribute name="locale" type="{http://www.w3.org/2001/XMLSchema}NCName" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "displayType", namespace = "http://www.jboss.org/teiiddesigner/ext/2012", propOrder = { "value" }) public class DisplayType { @XmlValue protected String value; @XmlAttribute(name = "locale") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NCName") protected String locale; /** * 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 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; } }