-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of reading in the JSON as a hash map using strings to index java object is used instead.
- Loading branch information
1 parent
6ef459f
commit 8111f04
Showing
2 changed files
with
68 additions
and
17 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
src/main/java/org/vcell/vcellfiji/ExportDataRepresentation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package org.vcell.vcellfiji; | ||
|
||
import java.util.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.Stack; | ||
|
||
public class ExportDataRepresentation { | ||
public ArrayList<String> globalJobIDs; | ||
public HashMap<String, FormatExportDataRepresentation> formatData; | ||
|
||
public ExportDataRepresentation(ArrayList<String> globalJobIDs, HashMap<String, FormatExportDataRepresentation> formatData){ | ||
this.globalJobIDs = globalJobIDs; | ||
this.formatData = formatData; | ||
} | ||
|
||
public static class FormatExportDataRepresentation { | ||
public HashMap<String, SimulationExportDataRepresentation> simulationDataMap; | ||
public Stack<String> formatJobIDs; | ||
|
||
public FormatExportDataRepresentation(HashMap<String, SimulationExportDataRepresentation> simulationDataMap, Stack<String> formatJobIDs){ | ||
this.formatJobIDs = formatJobIDs; | ||
this.simulationDataMap = simulationDataMap; | ||
} | ||
} | ||
|
||
public static class SimulationExportDataRepresentation { | ||
public String exportDate; | ||
public String uri; | ||
public String jobID; | ||
public String dataID; | ||
public String simulationName; | ||
public String applicationName; | ||
public String biomodelName; | ||
public String variables; | ||
public String startAndEndTime; | ||
|
||
public ArrayList<String> defaultParameterValues; | ||
public ArrayList<String> setParameterValues; | ||
|
||
public SimulationExportDataRepresentation(String exportDate, String uri, String jobID, String dataID, String simulationName, | ||
String applicationName, String biomodelName, String variables, String startAndEndTime, | ||
ArrayList<String> defaultParameterValues, ArrayList<String> setParameterValues){ | ||
this.exportDate = exportDate; | ||
this.uri = uri; | ||
this.jobID = jobID; | ||
this.dataID = dataID; | ||
this.simulationName = simulationName; | ||
this.applicationName = applicationName; | ||
this.biomodelName = biomodelName; | ||
this.variables = variables; | ||
this.startAndEndTime = startAndEndTime; | ||
this.defaultParameterValues = defaultParameterValues; | ||
this.setParameterValues = setParameterValues; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters