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 Type
    Method
    Description
    org.apache.olingo.odata2.api.edm.provider.Association
    Generates an association for the referenced TypeAttributeDescriptor
    boolean
    Determines if this association generator is applicable for the given attribute descriptor
  • Method Details

    • generate

      org.apache.olingo.odata2.api.edm.provider.Association generate(TypeAttributeDescriptor descriptor)
      Generates an association for the referenced TypeAttributeDescriptor
      Specified by:
      generate in interface SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Association,TypeAttributeDescriptor>
      Parameters:
      descriptor - the integration object attribute descriptor
      Returns:
      the association
    • isApplicable

      boolean isApplicable(TypeAttributeDescriptor attributeDescriptor)
      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