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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
containsTarget |
protected String |
name |
protected Boolean |
nullable |
protected String |
partner |
protected List<Object> |
referentialConstraintOrOnDeleteOrAnnotation |
protected List<String> |
type |
| Constructor and Description |
|---|
TNavigationProperty() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
String |
getPartner()
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.
|
Boolean |
isContainsTarget()
Gets the value of the containsTarget property.
|
Boolean |
isNullable()
Gets the value of the nullable property.
|
void |
setContainsTarget(Boolean value)
Sets the value of the containsTarget property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNullable(Boolean value)
Sets the value of the nullable property.
|
void |
setPartner(String value)
Sets the value of the partner property.
|
protected List<Object> referentialConstraintOrOnDeleteOrAnnotation
protected String name
protected Boolean nullable
protected String partner
protected Boolean containsTarget
public List<Object> getReferentialConstraintOrOnDeleteOrAnnotation()
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 set method 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
TReferentialConstraint
TOnDelete
Annotation
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<String> getType()
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 set method 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
public Boolean isNullable()
Booleanpublic void setNullable(Boolean value)
value - allowed object is
Booleanpublic String getPartner()
Stringpublic void setPartner(String value)
value - allowed object is
Stringpublic Boolean isContainsTarget()
BooleanCopyright © 2018–2020. All rights reserved.