Package org.apache.olingo.odata2.api.edm
Interface EdmAssociation
-
- All Superinterfaces:
EdmAnnotatable,EdmNamed,EdmType
public interface EdmAssociation extends EdmType, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement A CSDL Association elementEdmAssociation defines the relationship of two entity types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmAssociationEndgetEnd(String role)Get theEdmAssociationEndby roleEdmAssociationEndgetEnd1()Get theEdmAssociationEndfor end1EdmAssociationEndgetEnd2()Get theEdmAssociationEndfor end2EdmReferentialConstraintgetReferentialConstraint()Get theEdmReferentialConstraint-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmType
getKind, getNamespace
-
-
-
-
Method Detail
-
getEnd
EdmAssociationEnd getEnd(String role) throws EdmException
Get theEdmAssociationEndby role- Parameters:
role- Regra- Returns:
EdmAssociationEnd- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEnd1
EdmAssociationEnd getEnd1() throws EdmException
Get theEdmAssociationEndfor end1- Returns:
EdmAssociationEnd- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEnd2
EdmAssociationEnd getEnd2() throws EdmException
Get theEdmAssociationEndfor end2- Returns:
EdmAssociationEnd- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getReferentialConstraint
EdmReferentialConstraint getReferentialConstraint() throws EdmException
Get theEdmReferentialConstraint- Returns:
EdmReferentialConstraint- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-