Statistics
| Revision:

root / trunk / libraries / libTopology / uml-jude / org / gvsig / topology / AbstractTopologyRule.java @ 13263

History | View | Annotate | Download (1007 Bytes)

1
package org.gvsig.topology;
2

    
3
import com.iver.cit.gvsig.fmap.layers.FLyrVect;
4
import com.iver.cit.gvsig.fmap.core.IFeature;
5
import java.awt.geom.Rectangle2D;
6
import java.util.Collection;
7

    
8
public abstract class AbstractTopologyRule implements ITopologyRule {
9
 
10
        private FLyrVect originLyr;
11
         
12
        private FLyrVect destinationLyr;
13
         
14
        private Topology topology;
15
         
16
        public void setOriginLyr(FLyrVect originLyr) {
17
        }
18
         
19
        public FLyrVect getOriginLyr() {
20
                return null;
21
        }
22
         
23
        public void setDestinationLyr(FLyrVect destinationLyr) {
24
        }
25
         
26
        public FLyrVect getDestinationLyr() {
27
                return null;
28
        }
29
         
30
        public String getName() {
31
                return null;
32
        }
33
         
34
        /**
35
         *Checks if the rule's parameters 
36
         *(sourceLyr, destinationLyr) verify 
37
         *rule preconditions (geometry type, etc.)
38
         */
39
        public void checkPreconditions() {
40
        }
41
         
42
        public void checkRule() {
43
        }
44
         
45
        void validateFeature(IFeature feature) {
46
        }
47
         
48
        public void checkRule(Rectangle2D rect) {
49
        }
50
         
51
        public Collection getTopologyErrors() {
52
                return null;
53
        }
54
         
55
}
56