Revision 24250 branches/v2_0_0_prep/libraries/libFMap_dataFile/src/org/gvsig/fmap/data/store/dbf/DBFStoreParameters.java

View differences:

DBFStoreParameters.java
19 19
	public DataStoreParameters initialize() {
20 20
		this.addParameter("dbfFile", DataTypes.STRING, "Ruta al fichero dbf",
21 21
				null);
22
		this.addAlias("dbfFile", "filename");
23
		this.addAlias("dbfFile", "file");
22
		this.addAttributeAlias("dbfFile", "filename");
23
		this.addAttributeAlias("dbfFile", "file");
24 24
		return this;
25 25
	}
26 26

  
......
45 45
	}
46 46

  
47 47
	protected String getDBFFile() {
48
		return (String) this.get("dbfFile");
48
		return (String) this.getAttribute("dbfFile");
49 49
	}
50 50

  
51 51
	protected void setDBFFile(File aFile) {
52
		this.set("dbfFile", aFile.getPath());
52
		this.setAttribute("dbfFile", aFile.getPath());
53 53
	}
54 54

  
55 55
	protected void setDBFFile(String aFileName) {
56
		this.set("dbfFile", aFileName);
56
		this.setAttribute("dbfFile", aFileName);
57 57
	}
58 58

  
59 59
	public String getDescription() {

Also available in: Unified diff