org.odata4j.edm
Class EdmNavigationProperty.Builder
java.lang.Object
org.odata4j.edm.EdmItem.Builder<T,TBuilder>
org.odata4j.edm.EdmPropertyBase.Builder<EdmNavigationProperty,EdmNavigationProperty.Builder>
org.odata4j.edm.EdmNavigationProperty.Builder
- All Implemented Interfaces:
- Named
- Enclosing class:
- EdmNavigationProperty
public static class EdmNavigationProperty.Builder
- extends EdmPropertyBase.Builder<EdmNavigationProperty,EdmNavigationProperty.Builder>
Mutable builder for EdmNavigationProperty
objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
build
public EdmNavigationProperty build()
getFromRoleName
public String getFromRoleName()
getRelationshipName
public String getRelationshipName()
getToRoleName
public String getToRoleName()
setFromTo
public EdmNavigationProperty.Builder setFromTo(EdmAssociationEnd.Builder fromRole,
EdmAssociationEnd.Builder toRole)
setFromToName
public EdmNavigationProperty.Builder setFromToName(String fromRoleName,
String toRoleName)
setRelationship
public EdmNavigationProperty.Builder setRelationship(EdmAssociation.Builder relationship)
setRelationshipName
public EdmNavigationProperty.Builder setRelationshipName(String relationshipName)
http://odata4j.org