| /* |
| * Copyright (c) 2014, 2020 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 v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // Contributors: |
| // Martin Vojtek - 2.6.0 - initial implementation |
| package org.eclipse.persistence.testing.perf.largexml.bigpo.core_component_types; |
| |
| import jakarta.xml.bind.annotation.XmlAccessType; |
| import jakarta.xml.bind.annotation.XmlAccessorType; |
| import jakarta.xml.bind.annotation.XmlAttribute; |
| import jakarta.xml.bind.annotation.XmlSchemaType; |
| import jakarta.xml.bind.annotation.XmlSeeAlso; |
| import jakarta.xml.bind.annotation.XmlType; |
| import jakarta.xml.bind.annotation.XmlValue; |
| import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; |
| import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter; |
| import jakarta.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; |
| } |
| |
| } |