|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.global.dto.FeatureTypeInfoDTO
Data Transfer Object used for GeoServer FeatureTypeInfo information.
FeatureTypeInfo is used because FeatureType is already used to represent schema information in GeoTools2.
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.
Example:
FeatureTypeInfoDTO ftiDto = new FeatureTypeInfoDTO();
ftiDto.setName("My Feature Type");
ftiDto.setTitle("The Best Feature Type");
ftiDto.setSRS(23769);
ftiDto.setDataStoreId("myDataStore");
Constructor Summary | |
FeatureTypeInfoDTO()
FeatureTypeInfo constructor. |
|
FeatureTypeInfoDTO(FeatureTypeInfoDTO dto)
FeatureTypeInfo constructor. |
Method Summary | |
boolean |
addKeyword(java.lang.String key)
setKeywords purpose. |
java.lang.Object |
clone()
Implement clone as a deep copy. |
boolean |
equals(java.lang.Object obj)
Implement equals. |
java.lang.String |
getAbstract()
Short description of FeatureType. |
java.lang.String |
getDataStoreId()
Identifier of DataStore used to create FeatureType. |
java.lang.String |
getDefaultStyle()
getDefaultStyle purpose. |
org.geotools.filter.Filter |
getDefinitionQuery()
getDefinitionQuery purpose. |
java.lang.String |
getDirName()
getDirName purpose. |
java.lang.String |
getKey()
Convience method for dataStoreId.typeName. |
java.util.List |
getKeywords()
List of keywords (limitied to text). |
com.vividsolutions.jts.geom.Envelope |
getLatLongBBox()
The extent of this FeatureType. |
java.lang.String |
getName()
Name of featureType, must match typeName provided by DataStore. |
int |
getNumDecimals()
getNumDecimals purpose. |
java.util.List |
getSchemaAttributes()
getSchema purpose. |
java.lang.String |
getSchemaBase()
getSchemaBase purpose. |
java.lang.String |
getSchemaName()
getSchemaName purpose. |
int |
getSRS()
Spatial Reference System for FeatureType. |
java.lang.String |
getTitle()
Title used to identify FeatureType to user. |
int |
hashCode()
Implement hashCode. |
boolean |
removeKeyword(java.lang.String key)
setKeywords purpose. |
void |
setAbstract(java.lang.String string)
setAbstract purpose. |
void |
setDataStoreId(java.lang.String store)
setDataStore purpose. |
void |
setDefaultStyle(java.lang.String string)
setDefaultStyle purpose. |
void |
setDefinitionQuery(org.geotools.filter.Filter filter)
setDefinitionQuery purpose. |
void |
setDirName(java.lang.String string)
setDirName purpose. |
void |
setKeywords(java.util.List list)
setKeywords purpose. |
void |
setLatLongBBox(com.vividsolutions.jts.geom.Envelope envelope)
setLatLongBBox purpose. |
void |
setName(java.lang.String string)
setName purpose. |
void |
setNumDecimals(int i)
setNumDecimals purpose. |
void |
setSchemaAttributes(java.util.List schemaElements)
setSchema purpose. |
void |
setSchemaBase(java.lang.String string)
setSchemaBase purpose. |
void |
setSchemaName(java.lang.String string)
setSchemaName purpose. |
void |
setSRS(int i)
setSRS purpose. |
void |
setTitle(java.lang.String string)
setTitle purpose. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureTypeInfoDTO()
does nothing
public FeatureTypeInfoDTO(FeatureTypeInfoDTO dto)
Creates a copy of the FeatureTypeInfo provided. If the FeatureTypeInfo provided is null then default values are used. All the data structures are cloned.
dto
- The featuretype to copy.
java.lang.NullPointerException
- DOCUMENT ME!Method Detail |
public java.lang.Object clone()
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 FeatureTypeInfo object to test.
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in interface DataTransferObject
Object.hashCode()
public java.lang.String getAbstract()
public java.lang.String getDataStoreId()
public java.util.List getKeywords()
public java.lang.String getKey()
This key may be used to store this FeatureType in a Map for later.
public com.vividsolutions.jts.geom.Envelope getLatLongBBox()
Extent is measured against the tranditional LatLong coordinate system.
public java.lang.String getName()
public int getSRS()
Makes use of the standard EPSG codes?
public java.lang.String getTitle()
public void setAbstract(java.lang.String string)
Description ...
string
- public void setDataStoreId(java.lang.String store)
Description ...
store
- public void setKeywords(java.util.List list)
Description ...
list
- public boolean addKeyword(java.lang.String key)
Description ...
key
-
public boolean removeKeyword(java.lang.String key)
Description ...
key
-
public void setLatLongBBox(com.vividsolutions.jts.geom.Envelope envelope)
Description ...
envelope
- public void setName(java.lang.String string)
Description ...
string
- public void setSRS(int i)
Description ...
i
- public void setTitle(java.lang.String string)
Description ...
string
- public int getNumDecimals()
Description ...
public void setNumDecimals(int i)
Description ...
i
- public org.geotools.filter.Filter getDefinitionQuery()
Description ...
public void setDefinitionQuery(org.geotools.filter.Filter filter)
Description ...
filter
- public java.lang.String getDefaultStyle()
Description ...
public void setDefaultStyle(java.lang.String string)
Description ...
string
- public java.util.List getSchemaAttributes()
Returns An ordered list of AttributeTypeInfoDTOs
public void setSchemaAttributes(java.util.List schemaElements)
Stores a list of AttributeTypeInfoDTOs.
schemaElements
- An ordered list of AttributeTypeInfoDTOspublic java.lang.String getDirName()
Description ...
public void setDirName(java.lang.String string)
Description ...
string
- public java.lang.String getSchemaName()
Description ...
public void setSchemaName(java.lang.String string)
Description ...
string
- public java.lang.String getSchemaBase()
Description ...
public void setSchemaBase(java.lang.String string)
Description ...
string
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |