Class PropertyAnnotationListGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.attribute.PropertyAnnotationListGenerator
- All Implemented Interfaces:
SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,TypeAttributeDescriptor>
public class PropertyAnnotationListGenerator
extends Object
implements SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,TypeAttributeDescriptor>
Generates the various annotations for a property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>generate(TypeAttributeDescriptor descriptor) Generates the schema element whose type is defined by T.voidsetAnnotationGenerators(List<PropertyAnnotationGenerator> annotationGenerators)
-
Constructor Details
-
PropertyAnnotationListGenerator
public PropertyAnnotationListGenerator()
-
-
Method Details
-
generate
public List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute> generate(TypeAttributeDescriptor descriptor) Description copied from interface:SchemaElementGeneratorGenerates the schema element whose type is defined by T.- Specified by:
generatein interfaceSchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,TypeAttributeDescriptor> - Parameters:
descriptor- the object that is being converted- Returns:
- R the schema element
-
setAnnotationGenerators
-