|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.global.dto.NameSpaceInfoDTO
Data Transfer Object for GeoServer NameSpaceInfo information.
Represents the portion of a namespace required for the configuration of geoserver. Defines namespaces to be used by the datastores.
Data Transfer object are used to communicate between the GeoServer application and its configuration and persistent layers. As such the class is final - to allow for its future use as an on-the-wire message.
Jody here - does this actual defin the namespace used by the GML?
NameSpaceInfoDTO nsDto = new NameSpaceInfoDTO(); nsDto.setDefault(false); nsDto.setPrefix("me"); nsDto.setUri("dzwiers.refraction.net");
Constructor Summary | |
NameSpaceInfoDTO()
NameSpaceConfig constructor. |
|
NameSpaceInfoDTO(NameSpaceInfoDTO ns)
NameSpaceConfig constructor. |
Method Summary | |
java.lang.Object |
clone()
Implement clone. |
boolean |
equals(java.lang.Object obj)
Implement equals. |
java.lang.String |
getPrefix()
getPrefix purpose. |
java.lang.String |
getUri()
getUri purpose. |
int |
hashCode()
Implement hashCode. |
boolean |
isDefault()
isDefault purpose. |
void |
setDefault(boolean b)
setDdefault purpose. |
void |
setPrefix(java.lang.String string)
setPrefix purpose. |
void |
setUri(java.lang.String string)
setUri purpose. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NameSpaceInfoDTO()
does nothing
public NameSpaceInfoDTO(NameSpaceInfoDTO ns)
Creates a copy of the NameSpaceConfig provided. If the NameSpaceConfig provided is null then default values are used. All the data structures are cloned.
ns
- The namespace 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 NameSpaceConfig object to test.
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in interface DataTransferObject
Object.hashCode()
public boolean isDefault()
Description ...
public java.lang.String getPrefix()
Description ...
public java.lang.String getUri()
Description ...
public void setDefault(boolean b)
Description ...
b
- public void setPrefix(java.lang.String string)
Description ...
string
- public void setUri(java.lang.String string)
Description ...
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |