comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadUnknownFacet.java @ 8024:963ede7b32bb

Renamed SedimentLoad to SedimentLoadLSData to make place for SedimentLoad in backend.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 09 Jul 2014 17:33:57 +0200
parents 42076d94977e
children
comparison
equal deleted inserted replaced
8023:f7f86f4e4c8d 8024:963ede7b32bb
34 D4EArtifact flys = (D4EArtifact) artifact; 34 D4EArtifact flys = (D4EArtifact) artifact;
35 35
36 SedimentLoadAccess access = new SedimentLoadAccess(flys); 36 SedimentLoadAccess access = new SedimentLoadAccess(flys);
37 String river = access.getRiverName(); 37 String river = access.getRiverName();
38 String unit = access.getUnit(); 38 String unit = access.getUnit();
39 SedimentLoad[] unknown = 39 SedimentLoadLSData[] unknown =
40 SedimentLoadFactory.getSedimentLoadUnknown( 40 SedimentLoadFactory.getSedimentLoadUnknown(
41 river, 41 river,
42 unit.replace("_per_","/"), 42 unit.replace("_per_","/"),
43 access.getYearEpoch()); 43 access.getYearEpoch());
44 44
45 SedimentLoad load = SedimentLoadFactory.getLoadUnknown( 45 SedimentLoadLSData load = SedimentLoadFactory.getLoadUnknown(
46 river, unknown[index].getDescription(), access.getYearEpoch()); 46 river, unknown[index].getDescription(), access.getYearEpoch());
47 return load; 47 return load;
48 } 48 }
49 49
50 /** Copy deeply. */ 50 /** Copy deeply. */

http://dive4elements.wald.intevation.org