Class LocalizedAttributeNavigationPropertyListSchemaElementGenerator
java.lang.Object
de.hybris.platform.odata2services.odata.schema.navigation.LocalizedAttributeNavigationPropertyListSchemaElementGenerator
- All Implemented Interfaces:
SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,TypeDescriptor>
public class LocalizedAttributeNavigationPropertyListSchemaElementGenerator
extends Object
implements SchemaElementGenerator<List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>,TypeDescriptor>
The LocalizedAttributeNavigationPropertyListSchemaElementGenerator creates the navigation property that associates
the localized entity with this entity. Since there is only one localized navigation property
per entity, this generator returns a collection containing one navigation property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.olingo.odata2.api.edm.provider.NavigationProperty>generate(TypeDescriptor typeDescriptor) Generates the schema element whose type is defined by T.
-
Constructor Details
-
LocalizedAttributeNavigationPropertyListSchemaElementGenerator
public LocalizedAttributeNavigationPropertyListSchemaElementGenerator()
-
-
Method Details
-
generate
public List<org.apache.olingo.odata2.api.edm.provider.NavigationProperty> generate(TypeDescriptor typeDescriptor) 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.NavigationProperty>,TypeDescriptor> - Parameters:
typeDescriptor- the object that is being converted- Returns:
- R the schema element
-