Class PropertyGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.schema.property.PropertyGenerator
-
- All Implemented Interfaces:
SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Property,IntegrationObjectItemAttributeModel>
public class PropertyGenerator extends java.lang.Object implements SchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Property,IntegrationObjectItemAttributeModel>
-
-
Constructor Summary
Constructors Constructor Description PropertyGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TypeAttributeDescriptorasDescriptor(IntegrationObjectItemAttributeModel attributeModel)org.apache.olingo.odata2.api.edm.provider.Propertygenerate(IntegrationObjectItemAttributeModel attributeModel)Generates the schema element whose type is defined by T.voidsetAttributeListGenerator(AttributeAnnotationListGenerator generator)
-
-
-
Method Detail
-
generate
public org.apache.olingo.odata2.api.edm.provider.Property generate(IntegrationObjectItemAttributeModel attributeModel)
Description copied from interface:SchemaElementGeneratorGenerates the schema element whose type is defined by T.- Specified by:
generatein interfaceSchemaElementGenerator<org.apache.olingo.odata2.api.edm.provider.Property,IntegrationObjectItemAttributeModel>- Parameters:
attributeModel- the object that is being converted- Returns:
- R the schema element
-
asDescriptor
protected TypeAttributeDescriptor asDescriptor(IntegrationObjectItemAttributeModel attributeModel)
-
setAttributeListGenerator
public void setAttributeListGenerator(AttributeAnnotationListGenerator generator)
-
-