Revision 5981 org.gvsig.raster.tilecache/trunk/org.gvsig.raster.tilecache/org.gvsig.raster.tilecache.io/src/main/java/org/gvsig/raster/tilecache/io/TileDataParametersImpl.java
TileDataParametersImpl.java | ||
---|---|---|
49 | 49 |
private DelegatedDynObject delegatedDynObject = null; |
50 | 50 |
private TileServer tileServer = null; |
51 | 51 |
|
52 |
/** |
|
53 |
* |
|
54 |
*/ |
|
52 | 55 |
public TileDataParametersImpl() { |
53 | 56 |
super(); |
54 | 57 |
initialize(); |
... | ... | |
60 | 63 |
registerDynClass()); |
61 | 64 |
} |
62 | 65 |
|
66 |
/** |
|
67 |
* @return The DynStruct |
|
68 |
*/ |
|
63 | 69 |
public static DynStruct registerDynClass() { |
64 | 70 |
PersistenceManager manager = ToolsLocator.getPersistenceManager(); |
65 | 71 |
DynStruct definition = manager.getDefinition("TileDataParameters_Persistent"); |
... | ... | |
96 | 102 |
|
97 | 103 |
/** |
98 | 104 |
* Sets the <code>DataParameters</code> |
99 |
* @param params |
|
105 |
* @param params DataParameters
|
|
100 | 106 |
*/ |
101 | 107 |
public void setDataParameters(DataParameters params) { |
102 | 108 |
this.setDynValue(FIELD_PARAMETERS, params); |
... | ... | |
108 | 114 |
|
109 | 115 |
/** |
110 | 116 |
* Sets the <code>TileServer</code> |
111 |
* @param tileServer |
|
117 |
* @param tileServer TileServer
|
|
112 | 118 |
*/ |
113 | 119 |
public void setTileServer(TileServer tileServer) { |
114 | 120 |
this.tileServer = tileServer; |
... | ... | |
116 | 122 |
|
117 | 123 |
/** |
118 | 124 |
* Gets the <code>TileServer</code> |
119 |
* @return |
|
125 |
* @return the TileServer
|
|
120 | 126 |
*/ |
121 | 127 |
public TileServer getTileServer() { |
122 | 128 |
return tileServer; |
123 | 129 |
} |
124 | 130 |
|
125 | 131 |
/** |
126 |
* Returns true if this provider is for the second level of cach? |
|
127 |
* @return |
|
132 |
* @return true if this provider is for the second level of cach? |
|
128 | 133 |
*/ |
129 | 134 |
public boolean isSecondLevelCache() { |
130 | 135 |
Object obj = this.getDynValue(FIELD_SECONDLEVEL); |
... | ... | |
135 | 140 |
|
136 | 141 |
/** |
137 | 142 |
* Sets the flag to inform to the provider that is a second level provider |
138 |
* @param secondLevel |
|
143 |
* @param secondLevel boolean
|
|
139 | 144 |
*/ |
140 | 145 |
public void setSecondLevelCache(boolean secondLevel) { |
141 | 146 |
this.setDynValue(FIELD_SECONDLEVEL, new Boolean(secondLevel)); |
142 | 147 |
} |
143 | 148 |
|
144 | 149 |
/** |
145 |
* Gets the name |
|
146 |
* @return |
|
150 |
* @return the name |
|
147 | 151 |
*/ |
148 | 152 |
public String getName() { |
149 | 153 |
DataParameters p = getDataParameters(); |
... | ... | |
183 | 187 |
return TileProvider.DESCRIPTION; |
184 | 188 |
} |
185 | 189 |
|
190 |
/** |
|
191 |
* @return the explorer name |
|
192 |
*/ |
|
186 | 193 |
public String getExplorerName() { |
187 | 194 |
return TileServerExplorer.NAME; |
188 | 195 |
} |
... | ... | |
197 | 204 |
|
198 | 205 |
/** |
199 | 206 |
* Sets the flag to delete the cache |
200 |
* @param deleteCache |
|
207 |
* @param deleteCache boolean
|
|
201 | 208 |
*/ |
202 | 209 |
public void deleteCache(boolean deleteCache) { |
203 | 210 |
this.setDynValue(FIELD_DELETECACHE, new Boolean(deleteCache)); |
204 | 211 |
} |
205 | 212 |
|
206 | 213 |
/** |
207 |
* Returns true if the cache is going to be deleted |
|
208 |
* @return |
|
214 |
* @return true if the cache is going to be deleted |
|
209 | 215 |
*/ |
210 | 216 |
public boolean isDeletingCache() { |
211 | 217 |
Boolean b = (Boolean)getDynValue(FIELD_DELETECACHE); |
Also available in: Unified diff