Class PrimitiveCollectionMemberEntityTypeGenerator

  • All Implemented Interfaces:
    SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.EntityType,​java.lang.String>

    public class PrimitiveCollectionMemberEntityTypeGenerator
    extends java.lang.Object
    implements SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.EntityType,​java.lang.String>
    Generates an EntityType for the primitive collection type passed in. The type passed in is assumed to be primitive, it is not checked.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.olingo.odata2.api.edm.provider.EntityType generate​(java.lang.String primitiveType)
      Generates the schema element whose type is defined by T.
      • Methods inherited from class java.lang.Object

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

      • PrimitiveCollectionMemberEntityTypeGenerator

        public PrimitiveCollectionMemberEntityTypeGenerator()
    • Method Detail

      • generate

        public org.apache.olingo.odata2.api.edm.provider.EntityType generate​(java.lang.String primitiveType)
        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.EntityType,​java.lang.String>
        Parameters:
        primitiveType - the object that is being converted
        Returns:
        R the schema element