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