comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DataFacet.java @ 2121:70ef5fdc7414

Cosmetics, added new DataFacet constructor. flys-artifacts/trunk@3691 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 17 Jan 2012 07:55:12 +0000
parents efe1b8545f5c
children 81312f84689a
comparison
equal deleted inserted replaced
2120:f021080cb409 2121:70ef5fdc7414
29 */ 29 */
30 public DataFacet(String name, String description) { 30 public DataFacet(String name, String description) {
31 this(name, description, ComputeType.ADVANCE); 31 this(name, description, ComputeType.ADVANCE);
32 } 32 }
33 33
34
34 public DataFacet(String name, String description, ComputeType type) { 35 public DataFacet(String name, String description, ComputeType type) {
35 this(name, description, type, null); 36 this(name, description, type, null);
36 } 37 }
38
37 39
38 public DataFacet( 40 public DataFacet(
39 String name, 41 String name,
40 String description, 42 String description,
41 ComputeType type, 43 ComputeType type,
58 this.type = type; 60 this.type = type;
59 this.hash = hash; 61 this.hash = hash;
60 this.stateId = stateId; 62 this.stateId = stateId;
61 } 63 }
62 64
65
66 public DataFacet(
67 int index,
68 String name,
69 String description,
70 ComputeType type,
71 String hash,
72 String stateId
73 ) {
74 super(index, name, description);
75 this.type = type;
76 this.hash = hash;
77 this.stateId = stateId;
78 }
63 79
64 /** 80 /**
65 * Return computation result. 81 * Return computation result.
66 */ 82 */
67 @Override 83 @Override

http://dive4elements.wald.intevation.org