Package org.oasisopen.odata.csdl.v4
Class TEdmx
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TEdmx
-
public class TEdmx extends Object
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected TDataServicesdataServicesprotected List<TReference>referenceprotected BigDecimalversion
-
Constructor Summary
Constructors Constructor Description TEdmx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TDataServicesgetDataServices()Gets the value of the dataServices property.List<TReference>getReference()Gets the value of the reference property.BigDecimalgetVersion()Gets the value of the version property.voidsetDataServices(TDataServices value)Sets the value of the dataServices property.voidsetVersion(BigDecimal value)Sets the value of the version property.
-
-
-
Field Detail
-
reference
protected List<TReference> reference
-
dataServices
protected TDataServices dataServices
-
version
protected BigDecimal version
-
-
Method Detail
-
getReference
public List<TReference> getReference()
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 JAXB object. This is why there is not a
setmethod 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
TReference
-
getDataServices
public TDataServices getDataServices()
Gets the value of the dataServices property.- Returns:
- possible object is
TDataServices
-
setDataServices
public void setDataServices(TDataServices value)
Sets the value of the dataServices property.- Parameters:
value- allowed object isTDataServices
-
getVersion
public BigDecimal getVersion()
Gets the value of the version property.- Returns:
- possible object is
BigDecimal
-
setVersion
public void setVersion(BigDecimal value)
Sets the value of the version property.- Parameters:
value- allowed object isBigDecimal
-
-