org.odata4j.edm
Class EdmAssociation.Builder

java.lang.Object
  extended by org.odata4j.edm.EdmItem.Builder<EdmAssociation,EdmAssociation.Builder>
      extended by org.odata4j.edm.EdmAssociation.Builder
All Implemented Interfaces:
Named
Enclosing class:
EdmAssociation

public static class EdmAssociation.Builder
extends EdmItem.Builder<EdmAssociation,EdmAssociation.Builder>
implements Named

Mutable builder for EdmAssociation objects.


Constructor Summary
EdmAssociation.Builder()
           
 
Method Summary
 EdmAssociation build()
           
static Func1<EdmAssociation.Builder,String> func1_getFQNamespaceName()
           
 String getAlias()
           
 EdmAssociationEnd.Builder getEnd1()
           
 EdmAssociationEnd.Builder getEnd2()
           
 String getFQAliasName()
           
 String getFQNamespaceName()
           
 String getName()
          Gets the name.
 String getNamespace()
           
 EdmAssociation.Builder setAlias(String alias)
           
 EdmAssociation.Builder setEnds(EdmAssociationEnd.Builder end1, EdmAssociationEnd.Builder end2)
           
 EdmAssociation.Builder setName(String name)
           
 EdmAssociation.Builder setNamespace(String namespace)
           
 
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
 

Constructor Detail

EdmAssociation.Builder

public EdmAssociation.Builder()
Method Detail

build

public EdmAssociation build()

func1_getFQNamespaceName

public static Func1<EdmAssociation.Builder,String> func1_getFQNamespaceName()

getAlias

public String getAlias()

getEnd1

public EdmAssociationEnd.Builder getEnd1()

getEnd2

public EdmAssociationEnd.Builder getEnd2()

getFQAliasName

public String getFQAliasName()

getFQNamespaceName

public String getFQNamespaceName()

getName

public String getName()
Description copied from interface: Named
Gets the name.

Specified by:
getName in interface Named
Returns:
the name

getNamespace

public String getNamespace()

setAlias

public EdmAssociation.Builder setAlias(String alias)

setEnds

public EdmAssociation.Builder setEnds(EdmAssociationEnd.Builder end1,
                                      EdmAssociationEnd.Builder end2)

setName

public EdmAssociation.Builder setName(String name)

setNamespace

public EdmAssociation.Builder setNamespace(String namespace)


http://odata4j.org