Open laurikimmel opened 11 years ago
getState(...)
, getStates(...)
and getMetadata(...)
methods with more generic one public <T extends IApplicableTo> List<T> getApplicableTo(String instanceID, Class<T> clazz)
public <T extends IEntityInstance> List<T> getDerivedFrom(String instanceID, Class<T> clazz)
public <T extends IEntityInstance> List<T> getIssuedBy(String instanceID, long from, long to Class<T> clazz)
and public <T extends IEntityInstance> List<T> getDerivedFrom(String instanceID, Class<T> clazz)
IOrbitalDataAccess
& MongoOrbitalDataAccess
).
At the moment there are some strange or outdated methods in data access interfaces. Some of them have no practical use (
getByName(name)
etc.), some of them can be more general (get(ID, from, to)
etc.) and some are missing.Analyze all data access interfaces, make needed adjustments and create implementations. Don't forget testing.