Interface AssociationGenerator
- All Superinterfaces:
SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Association,TypeAttributeDescriptor>
- All Known Implementing Classes:
AbstractAssociationGenerator,CollectionAssociationGenerator,OneToOneAssociationGenerator
public interface AssociationGenerator
extends SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Association,TypeAttributeDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.edm.provider.Associationgenerate(TypeAttributeDescriptor descriptor) Generates an association for the referenced TypeAttributeDescriptorbooleanisApplicable(TypeAttributeDescriptor attributeDescriptor) Determines if this association generator is applicable for the given attribute descriptor
-
Method Details
-
generate
Generates an association for the referenced TypeAttributeDescriptor- Specified by:
generatein interfaceSchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Association,TypeAttributeDescriptor> - Parameters:
descriptor- the integration object attribute descriptor- Returns:
- the association
-
isApplicable
Determines if this association generator is applicable for the given attribute descriptor- Parameters:
attributeDescriptor- the attribute descriptor we are verifying- Returns:
- true if applicable, otherwise false
-