comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java @ 3772:5a8f8fd5310c

The usual wipe after for ill configured Eclipses. flys-artifacts/trunk@5477 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 15 Sep 2012 18:11:51 +0000
parents e8a90a5ce624
children 9f9d5ada96ca
comparison
equal deleted inserted replaced
3771:04309ca24614 3772:5a8f8fd5310c
11 import de.intevation.flys.artifacts.states.DefaultState.ComputeType; 11 import de.intevation.flys.artifacts.states.DefaultState.ComputeType;
12 12
13 13
14 /** 14 /**
15 * Facet for serving bedload diameter data. 15 * Facet for serving bedload diameter data.
16 * 16 *
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
18 */ 18 */
19 public class BedloadDiameterFacet extends DataFacet { 19 public class BedloadDiameterFacet extends DataFacet {
20 20
21 private static final long serialVersionUID = 1L; 21 private static final long serialVersionUID = 1L;
22 22
23 private static Logger logger = Logger.getLogger(BedloadDiameterFacet.class); 23 private static Logger logger = Logger.getLogger(BedloadDiameterFacet.class);
24 24
25 public BedloadDiameterFacet() { 25 public BedloadDiameterFacet() {
26 // required for clone operation deepCopy() 26 // required for clone operation deepCopy()
27 } 27 }
39 CalculationResult res = (CalculationResult) flys.compute(context, hash, 39 CalculationResult res = (CalculationResult) flys.compute(context, hash,
40 stateId, type, false); 40 stateId, type, false);
41 41
42 Object[] data = (Object[]) res.getData(); // TODO CAST TO SPECIFIC CLASS 42 Object[] data = (Object[]) res.getData(); // TODO CAST TO SPECIFIC CLASS
43 43
44 return data != null && data.length > index ? data[index] : null; 44 return data != null && data.length > index ? data[index] : null;
45 } 45 }
46 46
47 /** Copy deeply. */ 47 /** Copy deeply. */
48 @Override 48 @Override
49 public Facet deepCopy() { 49 public Facet deepCopy() {

http://dive4elements.wald.intevation.org