Package no.ntnu.idatt1002.demo.repo
Class MyEntityRepo
java.lang.Object
no.ntnu.idatt1002.demo.repo.MyEntityRepo
Repository for the MyEntity-entity
- Author:
- nilstes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMyEntity
(MyEntity obj) void
deleteMyEntity
(String id) findMyEntities
(String someParameter) getMyEntity
(String id) Get object with given id
-
Constructor Details
-
MyEntityRepo
public MyEntityRepo()
-
-
Method Details
-
getMyEntity
Get object with given id- Parameters:
id
- the entity id- Returns:
- an instance of MyEntity
-
findMyEntities
-
addMyEntity
-
deleteMyEntity
-