/******************************************************************************* * Copyright (c) 2014, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Martin Vojtek - 2.6.0 - initial implementation ******************************************************************************/ package org.eclipse.persistence.testing.perf.largexml.bigpo.core_component_types; 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.XmlSeeAlso; 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.NormalizedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.NameType; /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentTypes-1.0" xmlns:cct="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentTypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>CCT</ccts:ComponentType><ccts:DictionaryEntryName>Quantity. Type</ccts:DictionaryEntryName><ccts:Definition>A character string (i.e. a finite set of characters) generally in the form of words of a language.</ccts:Definition><ccts:ObjectClass>Text</ccts:ObjectClass><ccts:PropertyTerm>Type</ccts:PropertyTerm></ccts:Component> * </pre> * * * <p>Java class for TextType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="TextType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="languageID" type="{http://www.w3.org/2001/XMLSchema}language" /> * <attribute name="languageLocaleID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TextType", propOrder = { "value" }) @XmlSeeAlso({ org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.TextType.class, NameType.class }) public class TextType { @XmlValue protected String value; @XmlAttribute(name = "languageID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String languageID; @XmlAttribute(name = "languageLocaleID") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String languageLocaleID; /** * 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 languageID property. * * @return * possible object is * {@link String } * */ public String getLanguageID() { return languageID; } /** * Sets the value of the languageID property. * * @param value * allowed object is * {@link String } * */ public void setLanguageID(String value) { this.languageID = value; } /** * Gets the value of the languageLocaleID property. * * @return * possible object is * {@link String } * */ public String getLanguageLocaleID() { return languageLocaleID; } /** * Sets the value of the languageLocaleID property. * * @param value * allowed object is * {@link String } * */ public void setLanguageLocaleID(String value) { this.languageLocaleID = value; } }