Class AssociationSetGenerator

  • All Implemented Interfaces:
    SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.AssociationSet,​org.apache.olingo.odata2.api.edm.provider.Association>

    public class AssociationSetGenerator
    extends java.lang.Object
    implements SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.AssociationSet,​org.apache.olingo.odata2.api.edm.provider.Association>
    A default implementation of the AssociationSet generator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.olingo.odata2.api.edm.provider.AssociationSet generate​(org.apache.olingo.odata2.api.edm.provider.Association assoc)
      Generates the schema element whose type is defined by T.
      void setNameGenerator​(EntitySetNameGenerator generator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssociationSetGenerator

        public AssociationSetGenerator()
    • Method Detail

      • generate

        public org.apache.olingo.odata2.api.edm.provider.AssociationSet generate​(org.apache.olingo.odata2.api.edm.provider.Association assoc)
        Description copied from interface: SchemaElementGenerator
        Generates the schema element whose type is defined by T.
        Specified by:
        generate in interface SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.AssociationSet,​org.apache.olingo.odata2.api.edm.provider.Association>
        Parameters:
        assoc - the object that is being converted
        Returns:
        R the schema element