All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oasisopen.odata.csdl.v4.Schema Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.05.30 at 11:47:00 AM UTC 
//


package org.oasisopen.odata.csdl.v4;

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.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <element name="ComplexType" type="{http://docs.oasis-open.org/odata/ns/edm}TComplexType"/>
 *         <element name="EntityType" type="{http://docs.oasis-open.org/odata/ns/edm}TEntityType"/>
 *         <element name="TypeDefinition" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeDefinition"/>
 *         <element name="EnumType" type="{http://docs.oasis-open.org/odata/ns/edm}TEnumType"/>
 *         <element name="Action" type="{http://docs.oasis-open.org/odata/ns/edm}TAction"/>
 *         <element name="Function" type="{http://docs.oasis-open.org/odata/ns/edm}TFunction"/>
 *         <element name="Term" type="{http://docs.oasis-open.org/odata/ns/edm}TTerm"/>
 *         <element name="Annotations" type="{http://docs.oasis-open.org/odata/ns/edm}TAnnotations"/>
 *         <element name="EntityContainer" type="{http://docs.oasis-open.org/odata/ns/edm}TEntityContainer"/>
 *         <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
 *       </choice>
 *       <attribute name="Namespace" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TNamespaceName" />
 *       <attribute name="Alias" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "complexTypeOrEntityTypeOrTypeDefinition" }) @XmlRootElement(name = "Schema") public class Schema { @XmlElements({ @XmlElement(name = "ComplexType", type = TComplexType.class), @XmlElement(name = "EntityType", type = TEntityType.class), @XmlElement(name = "TypeDefinition", type = TTypeDefinition.class), @XmlElement(name = "EnumType", type = TEnumType.class), @XmlElement(name = "Action", type = TAction.class), @XmlElement(name = "Function", type = TFunction.class), @XmlElement(name = "Term", type = TTerm.class), @XmlElement(name = "Annotations", type = TAnnotations.class), @XmlElement(name = "EntityContainer", type = TEntityContainer.class), @XmlElement(name = "Annotation", type = Annotation.class) }) protected List complexTypeOrEntityTypeOrTypeDefinition; @XmlAttribute(name = "Namespace", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String namespace; @XmlAttribute(name = "Alias") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String alias; /** * Gets the value of the complexTypeOrEntityTypeOrTypeDefinition property. * *

* 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 Jakarta XML Binding object. * This is why there is not a set method for the complexTypeOrEntityTypeOrTypeDefinition property. * *

* For example, to add a new item, do as follows: *

     *    getComplexTypeOrEntityTypeOrTypeDefinition().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TComplexType } * {@link TEntityType } * {@link TTypeDefinition } * {@link TEnumType } * {@link TAction } * {@link TFunction } * {@link TTerm } * {@link TAnnotations } * {@link TEntityContainer } * {@link Annotation } * * */ public List getComplexTypeOrEntityTypeOrTypeDefinition() { if (complexTypeOrEntityTypeOrTypeDefinition == null) { complexTypeOrEntityTypeOrTypeDefinition = new ArrayList(); } return this.complexTypeOrEntityTypeOrTypeDefinition; } /** * Gets the value of the namespace property. * * @return * possible object is * {@link String } * */ public String getNamespace() { return namespace; } /** * Sets the value of the namespace property. * * @param value * allowed object is * {@link String } * */ public void setNamespace(String value) { this.namespace = value; } /** * Gets the value of the alias property. * * @return * possible object is * {@link String } * */ public String getAlias() { return alias; } /** * Sets the value of the alias property. * * @param value * allowed object is * {@link String } * */ public void setAlias(String value) { this.alias = value; } }