Revision 893 org.gvsig.topology/trunk/org.gvsig.topology/org.gvsig.topology.lib/org.gvsig.topology.lib.impl/src/main/java/org/gvsig/topology/lib/impl/DefaultTopologyReportLine.java
DefaultTopologyReportLine.java | ||
---|---|---|
43 | 43 |
private final Geometry geometry; |
44 | 44 |
private final FeatureReference feature1; |
45 | 45 |
private final FeatureReference feature2; |
46 |
private final int primitive1; |
|
47 |
private final int primitive2; |
|
46 | 48 |
private boolean exception; |
47 | 49 |
private final String description; |
48 |
private Geometry errorGeometry; |
|
50 |
private final String data; |
|
51 |
private final Geometry errorGeometry; |
|
49 | 52 |
|
50 | 53 |
DefaultTopologyReportLine(DefaultTopologyReport report, |
51 | 54 |
TopologyRule rule, |
... | ... | |
55 | 58 |
Geometry error, |
56 | 59 |
FeatureReference feature1, |
57 | 60 |
FeatureReference feature2, |
61 |
int primitive1, |
|
62 |
int primitive2, |
|
58 | 63 |
boolean exception, |
59 |
String description |
|
64 |
String description, |
|
65 |
String data |
|
60 | 66 |
) { |
61 | 67 |
this.report = report; |
62 | 68 |
this.rule = rule; |
... | ... | |
65 | 71 |
this.geometry = geometry; |
66 | 72 |
this.feature1 = feature1; |
67 | 73 |
this.feature2 = feature2; |
74 |
this.primitive1 = primitive1; |
|
75 |
this.primitive2 = primitive2; |
|
68 | 76 |
this.exception = exception; |
69 | 77 |
this.description = description; |
70 | 78 |
this.errorGeometry = error; |
79 |
this.data = data; |
|
71 | 80 |
} |
72 | 81 |
|
73 | 82 |
@Override |
... | ... | |
118 | 127 |
public Geometry getError() { |
119 | 128 |
return this.errorGeometry; |
120 | 129 |
} |
130 |
|
|
131 |
@Override |
|
132 |
public int getPrimitiveNumber1() { |
|
133 |
return this.primitive1; |
|
134 |
} |
|
135 |
|
|
136 |
@Override |
|
137 |
public int getPrimitiveNumber2() { |
|
138 |
return this.primitive2; |
|
139 |
} |
|
140 |
|
|
141 |
@Override |
|
142 |
public String getData() { |
|
143 |
return this.data; |
|
144 |
} |
|
121 | 145 |
} |
Also available in: Unified diff