Class TNavigationProperty
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TNavigationProperty
-
public class TNavigationProperty extends Object
Java class for TNavigationProperty complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TNavigationProperty"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="ReferentialConstraint" type="{http://docs.oasis-open.org/odata/ns/edm}TReferentialConstraint"/> <element name="OnDelete" type="{http://docs.oasis-open.org/odata/ns/edm}TOnDelete"/> <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}TTypeName" /> <attribute name="Nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="Partner" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" /> <attribute name="ContainsTarget" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description TNavigationProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.StringgetPartner()Gets the value of the partner property.List<Object>getReferentialConstraintOrOnDeleteOrAnnotation()Gets the value of the referentialConstraintOrOnDeleteOrAnnotation property.List<String>getType()Gets the value of the type property.BooleanisContainsTarget()Gets the value of the containsTarget property.BooleanisNullable()Gets the value of the nullable property.voidsetContainsTarget(Boolean value)Sets the value of the containsTarget property.voidsetName(String value)Sets the value of the name property.voidsetNullable(Boolean value)Sets the value of the nullable property.voidsetPartner(String value)Sets the value of the partner property.
-
-
-
Method Detail
-
getReferentialConstraintOrOnDeleteOrAnnotation
public List<Object> getReferentialConstraintOrOnDeleteOrAnnotation()
Gets the value of the referentialConstraintOrOnDeleteOrAnnotation 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 referentialConstraintOrOnDeleteOrAnnotation property.For example, to add a new item, do as follows:
getReferentialConstraintOrOnDeleteOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TReferentialConstraintTOnDeleteAnnotation
-
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 List<String> getType()
Gets the value of the type 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 type property.For example, to add a new item, do as follows:
getType().add(newItem);Objects of the following type(s) are allowed in the list
String
-
isNullable
public Boolean isNullable()
Gets the value of the nullable property.- Returns:
- possible object is
Boolean
-
setNullable
public void setNullable(Boolean value)
Sets the value of the nullable property.- Parameters:
value- allowed object isBoolean
-
getPartner
public String getPartner()
Gets the value of the partner property.- Returns:
- possible object is
String
-
setPartner
public void setPartner(String value)
Sets the value of the partner property.- Parameters:
value- allowed object isString
-
isContainsTarget
public Boolean isContainsTarget()
Gets the value of the containsTarget property.- Returns:
- possible object is
Boolean
-
-