org.apache.olingo.odata2.api.edm
Interface EdmAssociationSet

All Superinterfaces:
EdmAnnotatable, EdmNamed

public interface EdmAssociationSet
extends EdmNamed, EdmAnnotatable

Do not implement this interface or derive from class.
A CSDL AssociationSet element

EdmAssociationSet defines the relationship of two entity sets.


Method Summary
 EdmAssociation getAssociation()
          Get the association
 EdmAssociationSetEnd getEnd(String role)
          Get the association set end
 EdmEntityContainer getEntityContainer()
          Get the entity container the association set is located in
 
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmNamed
getName
 
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
 

Method Detail

getAssociation

EdmAssociation getAssociation()
                              throws EdmException
Get the association

Returns:
EdmAssociation
Throws:
EdmException

getEnd

EdmAssociationSetEnd getEnd(String role)
                            throws EdmException
Get the association set end

Parameters:
role -
Returns:
EdmAssociationSetEnd
Throws:
EdmException

getEntityContainer

EdmEntityContainer getEntityContainer()
                                      throws EdmException
Get the entity container the association set is located in

Returns:
EdmEntityContainer
Throws:
EdmException


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.