Revision 19631 trunk/libraries/libTopology/src/org/gvsig/topology/IOneLyrRule.java

View differences:

IOneLyrRule.java
57 57
 *
58 58
 */
59 59
public interface IOneLyrRule extends ITopologyRule {
60
	/**
61
	 * Sets the origin layer
62
	 * @param originLyr
63
	 */
60 64
	public void setOriginLyr(FLyrVect originLyr);
65
	/**
66
	 * Returns the origin layer
67
	 * @return
68
	 */
61 69
	public FLyrVect getOriginLyr();
70
	
71
	/**
72
	 * Checks if the specified origin layer is accepted by this rule.
73
	 * (if the geometry type is the required one, etc.)
74
	 * @param originLyr
75
	 * @return
76
	 */
77
	public boolean acceptsOriginLyr(FLyrVect originLyr);
62 78
}
63 79
 

Also available in: Unified diff