Package com.liferay.portal.odata.entity
Interface EntityModel
public interface EntityModel
Models a
EntityModel.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns a Map with all the entity fields used to create the EDM.default Map<String, EntityModel.EntityRelationship> default StringgetName()Returns the name of the single entity type used to create the EDM.static Map<String, EntityField> toEntityFieldsMap(EntityField... entityFields)
-
Method Details
-
toEntityFieldsMap
-
getEntityFieldsMap
Map<String,EntityField> getEntityFieldsMap()Returns a Map with all the entity fields used to create the EDM.- Returns:
- the entity field map
-
getEntityRelationshipsMap
-
getName
Returns the name of the single entity type used to create the EDM.- Returns:
- the entity type name
-