Revision 44669 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/EditableFeatureAttributeDescriptor.java

View differences:

EditableFeatureAttributeDescriptor.java
31 31
import org.gvsig.fmap.dal.feature.exception.AttributeFeatureTypeIntegrityException;
32 32
import org.gvsig.fmap.geom.type.GeometryType;
33 33
import org.gvsig.timesupport.Interval;
34
import org.gvsig.tools.dynobject.DynField;
34
import org.gvsig.tools.dataTypes.DataType;
35 35
import org.gvsig.tools.evaluator.Evaluator;
36 36

  
37 37
/**
......
42 42
 * Once you have completed the editing you can save the changes to the original
43 43
 * FeatureAttributeDescriptor. This is the only way to edit a FeatureAttributeDescriptor.
44 44
 */
45
public interface EditableFeatureAttributeDescriptor extends
46
		FeatureAttributeDescriptor {
45
public interface EditableFeatureAttributeDescriptor 
46
        extends FeatureAttributeDescriptor 
47
    {
47 48

  
48 49
	/**
49 50
	 * Checks attribute integrity
50
	 */
51
         * @throws org.gvsig.fmap.dal.feature.exception.AttributeFeatureTypeIntegrityException
52
 	 */
51 53
	void checkIntegrity() throws AttributeFeatureTypeIntegrityException;
52 54

  
53 55
        @Override
......
69 71
	 */
70 72
	public EditableFeatureAttributeDescriptor setDataType(int type);
71 73

  
74
        public EditableFeatureAttributeDescriptor setDataType(DataType dataType);
75

  
72 76
        public EditableFeatureAttributeDescriptor setDataProfileName(String dataProfile);
73 77
        
74 78
	/**
......
90 94
	 */
91 95
	public EditableFeatureAttributeDescriptor setPrecision(int precision);
92 96

  
97
	public EditableFeatureAttributeDescriptor setScale(int scale);
98
  
93 99
	/**
94 100
	 * Sets the Class to which the related FeatureAttribute can be cast
95 101
	 *
......
241 247
 
242 248
	/**
243 249
	 * Sets additional information of the attribute
244
	 * @return TODO
245
	 *
246
	 *
250
         * @param infoName
251
         * @param value
252
	 * @return 
247 253
	 */
248 254
	public EditableFeatureAttributeDescriptor setAdditionalInfo(String infoName, Object value);
249 255

  
......
251 257
	 * Sets whether the related FeatureAttribute is part of the FeatureType's
252 258
	 * primary key
253 259
	 *
254
	 * @param isPrimaryKey
255
	 *            true if is part of the primary key
260
	 * @param isAutomatic true if is part of the primary key
256 261
	 * @return this
257 262
	 */
258
	public EditableFeatureAttributeDescriptor setIsAutomatic(
259
			boolean isAutomatic);
263
	public EditableFeatureAttributeDescriptor setIsAutomatic(boolean isAutomatic);
260 264

  
261 265
	/**
262 266
	 * Sets is the attribute is a temporal attribute.
......
290 294
	 * If this attribute is of type Date, then this method set
291 295
	 * the date format set by the data store.
292 296
	 *
297
         * @param dateFormat
293 298
	 * @return
294 299
	 */
295 300
	public EditableFeatureAttributeDescriptor  setDateFormat(DateFormat dateFormat);

Also available in: Unified diff