Class NavigationPropertySchemaElementGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.navigation.NavigationPropertySchemaElementGenerator
- All Implemented Interfaces:
SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,TypeAttributeDescriptor>
public class NavigationPropertySchemaElementGenerator
extends Object
implements SchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,TypeAttributeDescriptor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>generate(TypeAttributeDescriptor attribute) Generates the schema element whose type is defined by T.protected AssociationGeneratorRegistryprotected SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,TypeAttributeDescriptor> voidsetAssociationGeneratorRegistry(AssociationGeneratorRegistry associationGeneratorRegistry) voidsetPropertyAnnotationListGenerator(SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>, TypeAttributeDescriptor> propertyAnnotationListGenerator)
-
Constructor Details
-
NavigationPropertySchemaElementGenerator
public NavigationPropertySchemaElementGenerator()
-
-
Method Details
-
generate
public Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty> generate(TypeAttributeDescriptor attribute) Description copied from interface:SchemaElementGeneratorGenerates the schema element whose type is defined by T.- Specified by:
generatein interfaceSchemaElementGenerator<Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,TypeAttributeDescriptor> - Parameters:
attribute- the object that is being converted- Returns:
- R the schema element
-
getPropertyAnnotationListGenerator
protected SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>,TypeAttributeDescriptor> getPropertyAnnotationListGenerator() -
setPropertyAnnotationListGenerator
public void setPropertyAnnotationListGenerator(SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute>, TypeAttributeDescriptor> propertyAnnotationListGenerator) -
getAssociationGeneratorRegistry
-
setAssociationGeneratorRegistry
public void setAssociationGeneratorRegistry(AssociationGeneratorRegistry associationGeneratorRegistry)
-