Interface EdmBindingTarget
- All Superinterfaces:
EdmAnnotatable
,EdmMappable
,EdmNamed
- All Known Subinterfaces:
EdmEntitySet
,EdmSingleton
Entity Sets or Singletons can be bound to each other using a navigation property binding so an
EdmBindingTarget
can either be an EdmEntitySet
or an EdmSingleton
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the entity container this target is contained in.Get the entity type.Get the entity type with annotations defined in external file.Returns the target for a given path.getTitle()
Returns a human readable title or null if not set.Methods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
Methods inherited from interface org.apache.olingo.commons.api.edm.EdmMappable
getMapping
-
Method Details
-
getTitle
String getTitle()Returns a human readable title or null if not set.- Returns:
- a human readable title or null
-
getRelatedBindingTarget
Returns the target for a given path.- Parameters:
path
- path for which the target is returned- Returns:
EdmBindingTarget
-
getEntityContainer
EdmEntityContainer getEntityContainer()Returns the entity container this target is contained in.- Returns:
EdmEntityContainer
-
getEntityType
EdmEntityType getEntityType()Get the entity type.- Returns:
EdmEntityType
-
getEntityTypeWithAnnotations
EdmEntityType getEntityTypeWithAnnotations()Get the entity type with annotations defined in external file.- Returns:
EdmEntityType
-