| /* |
| * 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_parameters; |
| |
| import java.util.ArrayList; |
| import java.util.List; |
| import jakarta.xml.bind.annotation.XmlAccessType; |
| import jakarta.xml.bind.annotation.XmlAccessorType; |
| import jakarta.xml.bind.annotation.XmlElement; |
| import jakarta.xml.bind.annotation.XmlType; |
| |
| |
| /** |
| * <p>Java class for ContextualizationType complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="ContextualizationType"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0}Context" maxOccurs="unbounded" minOccurs="0"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "ContextualizationType", propOrder = { |
| "context" |
| }) |
| public class ContextualizationType { |
| |
| @XmlElement(name = "Context") |
| protected List<ContextType> context; |
| |
| /** |
| * Gets the value of the context property. |
| * |
| * <p> |
| * 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 <CODE>set</CODE> method for the context property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * <pre> |
| * getContext().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link ContextType } |
| * |
| * |
| */ |
| public List<ContextType> getContext() { |
| if (context == null) { |
| context = new ArrayList<ContextType>(); |
| } |
| return this.context; |
| } |
| |
| } |