Revision 43020 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureRules.java

View differences:

FeatureRules.java
32 32
 * the whole structure.
33 33
 *
34 34
 */
35
public interface FeatureRules {
35
public interface FeatureRules extends Iterable<FeatureRule> {
36 36

  
37 37
	/**
38 38
	 * Returns an object given its index.
......
61 61
	 * @param rule
62 62
	 * 			the new rule to add.
63 63
	 * @return
64
	 * 		the added rule
64
	 * 		
65 65
	 */
66
	public FeatureRule add(FeatureRule rule);
66
	public boolean add(FeatureRule rule);
67 67

  
68 68
	/**
69 69
	 * Returns the number of rules contained in this FeatureRules.
......
104 104
	 * @return
105 105
	 * 		an iterator over the available {@link FeatureRule}(s)
106 106
	 */
107
	public Iterator iterator();
107
        @Override
108
	public Iterator<FeatureRule> iterator();
108 109

  
109 110
	/**
110 111
	 * Returns a new copy of this FeatureRules.

Also available in: Unified diff