Package edu.yu.marketmaker.state
Class StaticPositionRepository
java.lang.Object
edu.yu.marketmaker.state.StaticPositionRepository
- All Implemented Interfaces:
Repository<String,Position>
@Component
@Profile("testing")
public class StaticPositionRepository
extends Object
implements Repository<String,Position>
Static position repository for testing.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
StaticPositionRepository
-
StaticPositionRepository
public StaticPositionRepository()
-
-
Method Details
-
get
Description copied from interface:RepositoryGet mapped value- Specified by:
getin interfaceRepository<String,Position> - Parameters:
id- key of the entity- Returns:
-
put
Description copied from interface:RepositoryStore entity- Specified by:
putin interfaceRepository<String,Position> - Parameters:
position- to be stored
-
getAll
Description copied from interface:RepositoryGet all mapped values- Specified by:
getAllin interfaceRepository<String,Position> - Returns:
-
delete
Description copied from interface:RepositoryDelete entity- Specified by:
deletein interfaceRepository<String,Position> - Parameters:
id- key of the entity
-