Class ODataNavigationProperty
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.ODataNavigationProperty
-
- All Implemented Interfaces:
ODataAnnotatable
public class ODataNavigationProperty extends java.lang.Object implements ODataAnnotatable
A helper class for exploring and evaluating content of an OData EDMProperty
-
-
Constructor Summary
Constructors Constructor Description ODataNavigationProperty(org.apache.olingo.odata2.api.edm.provider.NavigationProperty property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>getAnnotation(java.lang.String name)java.util.Collection<java.lang.String>getAnnotationNames()java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>getAnnotations()booleanhasFromRole(java.lang.String fromRole)booleanhasName(java.lang.String expectedName)booleanhasRelationshipName(java.lang.String relationshipName)booleanhasToRole(java.lang.String toRole)
-
-
-
Method Detail
-
getAnnotationNames
public java.util.Collection<java.lang.String> getAnnotationNames()
- Specified by:
getAnnotationNamesin interfaceODataAnnotatable
-
getAnnotation
public java.util.Optional<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute> getAnnotation(java.lang.String name)
- Specified by:
getAnnotationin interfaceODataAnnotatable
-
getAnnotations
public java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute> getAnnotations()
-
hasName
public boolean hasName(java.lang.String expectedName)
-
hasFromRole
public boolean hasFromRole(java.lang.String fromRole)
-
hasToRole
public boolean hasToRole(java.lang.String toRole)
-
hasRelationshipName
public boolean hasRelationshipName(java.lang.String relationshipName)
-
-