Package org.oasisopen.odata.csdl.v4
Class TSingleton
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TSingleton
-
public class TSingleton extends Object
Java class for TSingleton complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TSingleton"> <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> <attribute name="Name" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" /> <attribute name="Type" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TQualifiedName" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description TSingleton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.List<Object>getNavigationPropertyBindingOrAnnotation()Gets the value of the navigationPropertyBindingOrAnnotation property.StringgetType()Gets the value of the type property.voidsetName(String value)Sets the value of the name property.voidsetType(String value)Sets the value of the type 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
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
-