Interface JCoMockRepository
public interface JCoMockRepository
Class for mocking JCo result structures based on a file.
-
Method Summary
-
Method Details
-
getRecord
Returns a JCoRecord (ie. JCoTable or JCoStructure) by it's key.- Parameters:
key- for this JCoRecord.- Returns:
- Returns the Record with the given key.
- Throws:
JCoRecException- if there is no Record available with the given key.
-
getStructure
Returns a JCoStructure (JCoRecord) by it's key.- Parameters:
key- the key for this JCoStructure.- Returns:
- Returns the JCoStructure with the given key.
- Throws:
JCoRecException- if the Record with this key is not a JCoStructure or there is no JCoStructure with this key.
-
getTable
Returns a JCoTable by it's key.- Parameters:
key- for this JCoTable.- Returns:
- Returns the JCoTable with the given key.
- Throws:
JCoRecException- if the Record with this key is not a JCoTable or there is no JCoTable with this key.
-