| java.lang.Object | |||
| ↳ | org.odata4j.edm.EdmItem | ||
| ↳ | org.odata4j.edm.EdmPropertyBase | ||
| ↳ | org.odata4j.edm.EdmNavigationProperty | ||
A CSDL NavigationProperty element.
A NavigationProperty element defines a navigation property, which provides a reference to the other end of an association. Unlike properties defined with the Property element, navigation properties do not define the shape and characteristics of data. They provide a way to navigate an association between two entity types.
Note that navigation properties are optional on both entity types at the ends of an association. If you define a navigation property on one entity type at the end of an association, you do not have to define a navigation property on the entity type at the other end of the association.
The data type returned by a navigation property is determined by the multiplicity of its remote association end. For example, suppose a navigation property, OrdersNavProp, exists on a Customer entity type and navigates a one-to-many association between Customer and Order. Because the remote association end for the navigation property has multiplicity many (*), its data type is a collection (of Order). Similarly, if a navigation property, CustomerNavProp, exists on the Order entity type, its data type would be Customer since the multiplicity of the remote end is one (1).
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EdmNavigationProperty.Builder | Mutable builder for EdmNavigationProperty objects. |
||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| fromRole | |||||||||||
| relationship | |||||||||||
| toRole | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.odata4j.edm.EdmPropertyBase
| |||||||||||
From class
org.odata4j.edm.EdmItem
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.odata4j.edm.EdmPropertyBase
| |||||||||||
From class
org.odata4j.edm.EdmItem
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.odata4j.core.Named
| |||||||||||