Class NavigationPropertyListGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.schema.navigation.NavigationPropertyListGenerator
-
- All Implemented Interfaces:
SchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,java.util.Collection<IntegrationObjectItemAttributeModel>>
public class NavigationPropertyListGenerator extends java.lang.Object implements SchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,java.util.Collection<IntegrationObjectItemAttributeModel>>
-
-
Constructor Summary
Constructors Constructor Description NavigationPropertyListGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>generate(java.util.Collection<IntegrationObjectItemAttributeModel> entityAttributes)Generates the list of NavigationProperty based on the entire list of entity attributesvoidsetNavigationPropertyGenerator(SchemaElementGenerator<java.util.Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,IntegrationObjectItemAttributeModel> generator)
-
-
-
Method Detail
-
generate
public java.util.List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty> generate(java.util.Collection<IntegrationObjectItemAttributeModel> entityAttributes)
Generates the list of NavigationProperty based on the entire list of entity attributes- Specified by:
generatein interfaceSchemaElementGenerator<java.util.List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,java.util.Collection<IntegrationObjectItemAttributeModel>>- Parameters:
entityAttributes- the complete set of attributes for the given entity type and all of its associated types- Returns:
- the List of NavigationProperties
-
setNavigationPropertyGenerator
public void setNavigationPropertyGenerator(SchemaElementGenerator<java.util.Optional<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,IntegrationObjectItemAttributeModel> generator)
-
-