Class EdmNavigationPropertyImpl
java.lang.Object
org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
org.apache.olingo.commons.core.edm.AbstractEdmNamed
org.apache.olingo.commons.core.edm.EdmNavigationPropertyImpl
- All Implemented Interfaces:
EdmAnnotatable,EdmElement,EdmNamed,EdmNavigationProperty,EdmTyped
-
Field Summary
Fields inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
edm -
Constructor Summary
ConstructorsConstructorDescriptionEdmNavigationPropertyImpl(Edm edm, CsdlNavigationProperty navigationProperty) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetReferencingPropertyName(String referencedPropertyName) Get property name for referenced propertygetType()SeeEdmTypefor more information about possible types.booleanbooleanMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmNamed
getName, toStringMethods inherited from class org.apache.olingo.commons.core.edm.AbstractEdmAnnotatable
getAnnotation, getAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
-
Constructor Details
-
Method Details
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceEdmTyped- Returns:
- true if this typed element is a collection
-
isNullable
public boolean isNullable()- Specified by:
isNullablein interfaceEdmNavigationProperty- Returns:
- true if nullable or not specified
-
containsTarget
public boolean containsTarget()- Specified by:
containsTargetin interfaceEdmNavigationProperty- Returns:
- true if containsTarget
-
getType
Description copied from interface:EdmTypedSeeEdmTypefor more information about possible types.- Specified by:
getTypein interfaceEdmNavigationProperty- Specified by:
getTypein interfaceEdmTyped- Returns:
EdmType
-
getPartner
- Specified by:
getPartnerin interfaceEdmNavigationProperty- Returns:
- the partner navigation property
-
getReferencingPropertyName
Description copied from interface:EdmNavigationPropertyGet property name for referenced property- Specified by:
getReferencingPropertyNamein interfaceEdmNavigationProperty- Parameters:
referencedPropertyName- name of referenced property- Returns:
- propertyName for this referenced property
-
getReferentialConstraints
- Specified by:
getReferentialConstraintsin interfaceEdmNavigationProperty- Returns:
- all referential constraints for this navigation property.
-
getOnDelete
- Specified by:
getOnDeletein interfaceEdmNavigationProperty
-