Class NullableAttributeGenerator

    • Constructor Detail

      • NullableAttributeGenerator

        public NullableAttributeGenerator()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • isApplicable

        public boolean isApplicable​(IntegrationObjectItemAttributeModel itemAttributeModel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: AnnotationGenerator
        Determines if this annotation generator is applicable for the given attribute or attributes
        Specified by:
        isApplicable in interface AnnotationGenerator<IntegrationObjectItemAttributeModel>
        Parameters:
        itemAttributeModel - the IntegrationObjectItemAttributeModel OR IntegrationObjectItemModel we are verifying on
        Returns:
        true if applicable, otherwise false
      • generate

        public org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute generate​(IntegrationObjectItemAttributeModel itemAttributeModel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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.AnnotationAttribute,​IntegrationObjectItemAttributeModel>
        Parameters:
        itemAttributeModel - the object that is being converted
        Returns:
        R the schema element
      • toAttributeDescriptor

        protected TypeAttributeDescriptor toAttributeDescriptor​(IntegrationObjectItemAttributeModel itemAttributeModel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Converts the attribute model to an implementation of the TypeAttributeDescriptor
        Parameters:
        itemAttributeModel - a model to convert
        Returns:
        an attribute descriptor for the specified attribute model