Package org.apache.olingo.odata2.api.edm
Interface EdmNavigationProperty
-
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed,EdmTyped
public interface EdmNavigationProperty extends EdmTyped, EdmMappable, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement A CSDL NavigationProperty elementEdmNavigationProperty allows navigation from one entity type to another via a relationship.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFromRole()Get the from role of the navigation propertyEdmAssociationgetRelationship()Get the relationship of the navigation propertyStringgetToRole()Get the to role of the navigation property-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMapping
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmTyped
getMultiplicity, getType
-
-
-
-
Method Detail
-
getRelationship
EdmAssociation getRelationship() throws EdmException
Get the relationship of the navigation property- Returns:
EdmAssociation- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getFromRole
String getFromRole() throws EdmException
Get the from role of the navigation property- Returns:
- from role as String
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getToRole
String getToRole() throws EdmException
Get the to role of the navigation property- Returns:
- to role as String
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-