Class EntityTypeMapping
java.lang.Object
org.apache.olingo.odata2.core.ep.aggregator.EntityTypeMapping
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypeMappingstatic EntityTypeMappinggetEntityTypeMapping(String name) If thisEntityTypeMappingis complex the mapping for the property with the givennameis returned; otherwise an emptyEntityTypeMappingis returned.Class<?> getMappingClass(String name) If thisEntityTypeMappingis complex the mappingClassfor the property with the givennameis returned; otherwiseNULLis returned.toString()
-
Method Details
-
create
- Throws:
EntityProviderException
-
create
public static EntityTypeMapping create(String name, Map<String, Object> mappings) throws EntityProviderException- Throws:
EntityProviderException
-
getEntityTypeMapping
If thisEntityTypeMappingis complex the mapping for the property with the givennameis returned; otherwise an emptyEntityTypeMappingis returned.- Parameters:
name- Nome- Returns:
- the mapping for this entity type
-
getMappingClass
If thisEntityTypeMappingis complex the mappingClassfor the property with the givennameis returned; otherwiseNULLis returned.- Parameters:
name- Nome- Returns:
- mapping
Classfor the property with givennameorNULL.
-
toString
-