org.odata4j.edm
Class EdmAssociation
java.lang.Object
org.odata4j.edm.EdmItem
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)
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