Package org.oasisopen.odata.csdl.v4
Class TEntitySet
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TEntitySet
-
public class TEntitySet extends Object
Java class for TEntitySet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TEntitySet"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="NavigationPropertyBinding" type="{http://docs.oasis-open.org/odata/ns/edm}TNavigationPropertyBinding"/> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/> </choice> <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TEntitySetAttributes"/> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringentityTypeprotected BooleanincludeInServiceDocumentprotected Stringnameprotected List<Object>navigationPropertyBindingOrAnnotation
-
Constructor Summary
Constructors Constructor Description TEntitySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEntityType()Gets the value of the entityType property.StringgetName()Gets the value of the name property.List<Object>getNavigationPropertyBindingOrAnnotation()Gets the value of the navigationPropertyBindingOrAnnotation property.booleanisIncludeInServiceDocument()Gets the value of the includeInServiceDocument property.voidsetEntityType(String value)Sets the value of the entityType property.voidsetIncludeInServiceDocument(Boolean value)Sets the value of the includeInServiceDocument property.voidsetName(String value)Sets the value of the name property.
-
-
-
Method Detail
-
getNavigationPropertyBindingOrAnnotation
public List<Object> getNavigationPropertyBindingOrAnnotation()
Gets the value of the navigationPropertyBindingOrAnnotation 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 navigationPropertyBindingOrAnnotation property.For example, to add a new item, do as follows:
getNavigationPropertyBindingOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TNavigationPropertyBindingAnnotation
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getEntityType
public String getEntityType()
Gets the value of the entityType property.- Returns:
- possible object is
String
-
setEntityType
public void setEntityType(String value)
Sets the value of the entityType property.- Parameters:
value- allowed object isString
-
isIncludeInServiceDocument
public boolean isIncludeInServiceDocument()
Gets the value of the includeInServiceDocument property.- Returns:
- possible object is
Boolean
-
-