Package org.apache.olingo.odata2.api.edm
Interface EdmAssociationSet
-
- All Superinterfaces:
EdmAnnotatable,EdmNamed
public interface EdmAssociationSet extends EdmNamed, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement A CSDL AssociationSet elementEdmAssociationSet defines the relationship of two entity sets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmAssociationgetAssociation()Get the associationEdmAssociationSetEndgetEnd(String role)Get the association set endEdmEntityContainergetEntityContainer()Get the entity container the association set is located in-
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- Caso ocorra uma exceção EDM
-
getEnd
EdmAssociationSetEnd getEnd(String role) throws EdmException
Get the association set end- Parameters:
role- Regra- Returns:
EdmAssociationSetEnd- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEntityContainer
EdmEntityContainer getEntityContainer() throws EdmException
Get the entity container the association set is located in- Returns:
EdmEntityContainer- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-