Class AttributeAnnotationListGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.schema.attribute.AttributeAnnotationListGenerator
-
- All Implemented Interfaces:
SchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,IntegrationObjectItemAttributeModel>
public class AttributeAnnotationListGenerator extends java.lang.Object implements SchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,IntegrationObjectItemAttributeModel>
-
-
Constructor Summary
Constructors Constructor Description AttributeAnnotationListGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>generate(IntegrationObjectItemAttributeModel itemAttributeModel)Generates the list of AnnotationAttributesvoidsetAnnotationGenerators(java.util.List<AnnotationGenerator<ItemModel>> annotationGenerators)
-
-
-
Method Detail
-
generate
public java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute> generate(IntegrationObjectItemAttributeModel itemAttributeModel)
Generates the list of AnnotationAttributes- Specified by:
generatein interfaceSchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,IntegrationObjectItemAttributeModel>- Parameters:
itemAttributeModel- the attribute- Returns:
- List of AnnotationAttributes that is guaranteed to be at least of size 1
-
setAnnotationGenerators
public void setAnnotationGenerators(java.util.List<AnnotationGenerator<ItemModel>> annotationGenerators)
-
-