org.odata4j.edm
Class EdmNavigationProperty.Builder

java.lang.Object
  extended by org.odata4j.edm.EdmItem.Builder<T,TBuilder>
      extended by org.odata4j.edm.EdmPropertyBase.Builder<EdmNavigationProperty,EdmNavigationProperty.Builder>
          extended by 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.


Method Summary
 EdmNavigationProperty build()
           
 String getFromRoleName()
           
 String getRelationshipName()
           
 String getToRoleName()
           
 EdmNavigationProperty.Builder setFromTo(EdmAssociationEnd.Builder fromRole, EdmAssociationEnd.Builder toRole)
           
 EdmNavigationProperty.Builder setFromToName(String fromRoleName, String toRoleName)
           
 EdmNavigationProperty.Builder setRelationship(EdmAssociation.Builder relationship)
           
 EdmNavigationProperty.Builder setRelationshipName(String relationshipName)
           
 
Methods inherited from class org.odata4j.edm.EdmPropertyBase.Builder
getName, setName
 
Methods inherited from class org.odata4j.edm.EdmItem.Builder
getAnnotations, getDocumentation, setAnnotations, setDocumentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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