Class EdmAssociationImplProv
java.lang.Object
org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
org.apache.olingo.odata2.core.edm.provider.EdmAssociationImplProv
- All Implemented Interfaces:
EdmAnnotatable,EdmAssociation,EdmNamed,EdmType
public class EdmAssociationImplProv
extends EdmNamedImplProv
implements EdmAssociation, EdmAnnotatable
-
Field Summary
Fields inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
edm -
Constructor Summary
ConstructorsConstructorDescriptionEdmAssociationImplProv(EdmImplProv edm, Association association, String namespace) -
Method Summary
Modifier and TypeMethodDescriptionGet all annotations applied to an EDM elementGet theEdmAssociationEndby rolegetEnd1()Get theEdmAssociationEndfor end1getEnd2()Get theEdmAssociationEndfor end2getEndMultiplicity(String role) getKind()Namespace of thisEdmTypeGet theEdmReferentialConstraintMethods inherited from class org.apache.olingo.odata2.core.edm.provider.EdmNamedImplProv
getName
-
Constructor Details
-
EdmAssociationImplProv
public EdmAssociationImplProv(EdmImplProv edm, Association association, String namespace) throws EdmException - Throws:
EdmException
-
-
Method Details
-
getNamespace
Description copied from interface:EdmTypeNamespace of thisEdmType- Specified by:
getNamespacein interfaceEdmType- Returns:
- namespace as String
- Throws:
EdmException
-
getKind
- Specified by:
getKindin interfaceEdmType- Returns:
EdmTypeKindof thisEdmType
-
getEnd
Description copied from interface:EdmAssociationGet theEdmAssociationEndby role- Specified by:
getEndin interfaceEdmAssociation- Returns:
EdmAssociationEnd- Throws:
EdmException
-
getAnnotations
Description copied from interface:EdmAnnotatableGet all annotations applied to an EDM element- Specified by:
getAnnotationsin interfaceEdmAnnotatable- Returns:
EdmAnnotationsnever null- Throws:
EdmException
-
getEndMultiplicity
-
getEnd1
Description copied from interface:EdmAssociationGet theEdmAssociationEndfor end1- Specified by:
getEnd1in interfaceEdmAssociation- Returns:
EdmAssociationEnd- Throws:
EdmException
-
getEnd2
Description copied from interface:EdmAssociationGet theEdmAssociationEndfor end2- Specified by:
getEnd2in interfaceEdmAssociation- Returns:
EdmAssociationEnd- Throws:
EdmException
-
getReferentialConstraint
Description copied from interface:EdmAssociationGet theEdmReferentialConstraint- Specified by:
getReferentialConstraintin interfaceEdmAssociation- Returns:
EdmReferentialConstraint- Throws:
EdmException
-