org.odata4j.edm
Class EdmAssociation

java.lang.Object
  extended by org.odata4j.edm.EdmItem
      extended by org.odata4j.edm.EdmAssociation

public class EdmAssociation
extends EdmItem

A CSDL Association element.

An Association element defines a relationship between two entity types. An association must specify the entity types that are involved in the relationship and the possible number of entity types at each end of the relationship, which is known as the multiplicity. The multiplicity of an association end can have a value of one (1), zero or one (0..1), or many (*). This information is specified in two child End elements.

See Also:
[msdn] Association Element (CSDL)

Nested Class Summary
static class EdmAssociation.Builder
          Mutable builder for EdmAssociation objects.
 
Method Summary
 String getAlias()
           
 EdmAssociationEnd getEnd1()
           
 EdmAssociationEnd getEnd2()
           
 String getFQAliasName()
           
 String getFQNamespaceName()
           
 String getName()
           
 String getNamespace()
           
static EdmAssociation.Builder newBuilder()
           
 String toString()
           
 
Methods inherited from class org.odata4j.edm.EdmItem
findAnnotation, getAnnotations, getDocumentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAlias

public String getAlias()

getEnd1

public EdmAssociationEnd getEnd1()

getEnd2

public EdmAssociationEnd getEnd2()

getFQAliasName

public String getFQAliasName()

getFQNamespaceName

public String getFQNamespaceName()

getName

public String getName()

getNamespace

public String getNamespace()

newBuilder

public static EdmAssociation.Builder newBuilder()

toString

public String toString()
Overrides:
toString in class Object


http://odata4j.org