|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.global.dto.StyleDTO
Data Transfer Object for style information.
Defines the style ids to be used by the wms. The files must be contained in geoserver/misc/wms/styles. We're working on finding a better place for them, but for now that's where you must put them if you want them on the server.
StyleDTO styleDto = new StyleDTO(); styleDto.setDefault(false); styleDto.setId("My Style"); styleDto.setFilename(new File(myStyle.sld));
Constructor Summary | |
StyleDTO()
StyleConfig constructor. |
|
StyleDTO(StyleDTO style)
StyleConfig constructor. |
Method Summary | |
java.lang.Object |
clone()
Implement clone. |
boolean |
equals(java.lang.Object obj)
Implement equals. |
java.io.File |
getFilename()
getFilename purpose. |
java.lang.String |
getId()
getId purpose. |
int |
hashCode()
Implement hashCode. |
boolean |
isDefault()
isDefault purpose. |
void |
setDefault(boolean b)
setDefault purpose. |
void |
setFilename(java.io.File file)
setFilename purpose. |
void |
setId(java.lang.String string)
setId purpose. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StyleDTO()
does nothing
public StyleDTO(StyleDTO style)
Creates a copy of the StyleConfig provided. If the StyleConfig provided is null then default values are used. All the data structures are cloned.
style
- The style to copy.
java.lang.NullPointerException
- DOCUMENT ME!Method Detail |
public java.lang.Object clone()
creates a clone of this object
clone
in interface DataTransferObject
Object.clone()
public boolean equals(java.lang.Object obj)
recursively tests to determine if the object passed in is a copy of this object.
equals
in interface DataTransferObject
obj
- The StyleConfig object to test.
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in interface DataTransferObject
Object.hashCode()
public boolean isDefault()
Description ...
public java.io.File getFilename()
Description ...
public java.lang.String getId()
Description ...
public void setDefault(boolean b)
Description ...
b
- public void setFilename(java.io.File file)
Description ...
file
- public void setId(java.lang.String string)
Description ...
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |