/******************************************************************************* * 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_parameters; 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.XmlElement; import javax.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; } }