org.oasisopen.odata.csdl.v4.TEdmx Maven / Gradle / Ivy
//
// 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: 2024.04.07 at 10:41:54 PM UTC
//
package org.oasisopen.odata.csdl.v4;
import java.math.BigDecimal;
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.XmlType;
/**
* Java class for TEdmx complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TEdmx">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Reference" type="{http://docs.oasis-open.org/odata/ns/edmx}TReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="DataServices" type="{http://docs.oasis-open.org/odata/ns/edmx}TDataServices"/>
* </sequence>
* <attribute name="Version" use="required" type="{http://docs.oasis-open.org/odata/ns/edmx}TVersion" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TEdmx", namespace = "http://docs.oasis-open.org/odata/ns/edmx", propOrder = {
"reference",
"dataServices"
})
public class TEdmx {
@XmlElement(name = "Reference")
protected List reference;
@XmlElement(name = "DataServices", required = true)
protected TDataServices dataServices;
@XmlAttribute(name = "Version", required = true)
protected BigDecimal version;
/**
* Gets the value of the reference 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 reference property.
*
*
* For example, to add a new item, do as follows:
*
* getReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TReference }
*
*
*/
public List getReference() {
if (reference == null) {
reference = new ArrayList();
}
return this.reference;
}
/**
* Gets the value of the dataServices property.
*
* @return
* possible object is
* {@link TDataServices }
*
*/
public TDataServices getDataServices() {
return dataServices;
}
/**
* Sets the value of the dataServices property.
*
* @param value
* allowed object is
* {@link TDataServices }
*
*/
public void setDataServices(TDataServices value) {
this.dataServices = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setVersion(BigDecimal value) {
this.version = value;
}
}