Revision 23616 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/Resource.java
Resource.java | ||
---|---|---|
51 | 51 |
protected Date lastTimeOpen = new Date(); |
52 | 52 |
protected Date lastTimeUsed = new Date(); |
53 | 53 |
|
54 |
protected DataParameters params = null; |
|
55 |
|
|
56 |
protected Resource(DataParameters params) { |
|
57 |
this.params = params; |
|
58 |
} |
|
59 |
|
|
60 |
/** |
|
61 |
* Returns <b>a copy</b> of the parameters used for create this resource |
|
62 |
* |
|
63 |
* @return DataParameters copy |
|
64 |
* @throws DataException |
|
65 |
*/ |
|
66 |
public DataParameters getParameters() throws DataException { |
|
67 |
return this.params.cloneParameters(); |
|
68 |
} |
|
69 |
|
|
54 | 70 |
public abstract String description(); |
55 | 71 |
|
56 | 72 |
public abstract String getName(); |
Also available in: Unified diff