Package org.oasisopen.odata.csdl.v4
Class TReference
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TReference
-
public class TReference extends Object
Java class for TReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TReference"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="Include" type="{http://docs.oasis-open.org/odata/ns/edmx}TInclude"/> <element name="IncludeAnnotations" type="{http://docs.oasis-open.org/odata/ns/edmx}TIncludeAnnotations"/> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/> </choice> <attribute name="Uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>includeOrIncludeAnnotationsOrAnnotationprotected Stringuri
-
Constructor Summary
Constructors Constructor Description TReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getIncludeOrIncludeAnnotationsOrAnnotation()Gets the value of the includeOrIncludeAnnotationsOrAnnotation property.StringgetUri()Gets the value of the uri property.voidsetUri(String value)Sets the value of the uri property.
-
-
-
Method Detail
-
getIncludeOrIncludeAnnotationsOrAnnotation
public List<Object> getIncludeOrIncludeAnnotationsOrAnnotation()
Gets the value of the includeOrIncludeAnnotationsOrAnnotation 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 includeOrIncludeAnnotationsOrAnnotation property.For example, to add a new item, do as follows:
getIncludeOrIncludeAnnotationsOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TIncludeTIncludeAnnotationsAnnotation
-
getUri
public String getUri()
Gets the value of the uri property.- Returns:
- possible object is
String
-
-