Java Doc for FeatureTypeInfoDTO.java in  » GIS » GeoServer » org » vfny » geoserver » global » dto » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoServer » org.vfny.geoserver.global.dto 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.vfny.geoserver.global.dto.FeatureTypeInfoDTO

FeatureTypeInfoDTO
final public class FeatureTypeInfoDTO implements DataTransferObject(Code)
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);
 

author:
   dzwiers, Refractions Research, Inc.
version:
   $Id: FeatureTypeInfoDTO.java 8391 2008-02-13 16:44:23Z aaime $



Constructor Summary
public  FeatureTypeInfoDTO()
     FeatureTypeInfo constructor.
public  FeatureTypeInfoDTO(FeatureTypeInfoDTO dto)
     FeatureTypeInfo constructor.

Creates a copy of the FeatureTypeInfo provided.


Method Summary
public  booleanaddKeyword(String key)
     setKeywords purpose.
public  voidaddStyle(String styleName)
    
public  Objectclone()
     Implement clone as a deep copy.
public  booleanequals(Object obj)
     Implement equals.

recursively tests to determine if the object passed in is a copy of this object.


Parameters:
  obj - The FeatureTypeInfo object to test.
public  StringgetAbstract()
     Short description of FeatureType.
public  StringgetAlias()
    
public  StringgetCacheMaxAge()
    
public  StringgetDataStoreId()
     Identifier of DataStore used to create FeatureType.
public  StringgetDefaultStyle()
     getDefaultStyle purpose.
public  FiltergetDefinitionQuery()
     getDefinitionQuery purpose.
public  StringgetDirName()
     getDirName purpose.
public  StringgetKey()
     Convience method for dataStoreId.typeName.
public  ListgetKeywords()
     List of keywords (limitied to text).
public  EnvelopegetLatLongBBox()
     The extent of this FeatureType.
public  LegendURLDTOgetLegendURL()
     Gets a reference to an optional legend icon.
public  intgetMaxFeatures()
    
public  ListgetMetadataLinks()
     List of metadataURLs (limited to text).
public  StringgetName()
     Name of featureType, must match typeName provided by DataStore.
public  EnvelopegetNativeBBox()
    
public  intgetNumDecimals()
     getNumDecimals purpose.
public  intgetSRS()
     Spatial Reference System for FeatureType.
public  intgetSRSHandling()
    
public  ListgetSchemaAttributes()
     getSchema purpose.
public  StringgetSchemaBase()
     getSchemaBase purpose.
public  FilegetSchemaFile()
     Gets the schema.xml file associated with this FeatureType.
public  StringgetSchemaName()
     getSchemaName purpose.
public  ArrayListgetStyles()
    
public  StringgetTitle()
     Title used to identify FeatureType to user.
public  StringgetWmsPath()
    
public  inthashCode()
     Implement hashCode.
public  booleanisCachingEnabled()
    
public  booleanremoveKeyword(String key)
     setKeywords purpose.
public  voidsetAbstract(String string)
     setAbstract purpose.
public  voidsetAlias(String alias)
    
public  voidsetCacheMaxAge(String cacheMaxAge)
    
public  voidsetCachingEnabled(boolean cachingEnabled)
    
public  voidsetDataStoreId(String store)
     setDataStore purpose.
public  voidsetDefaultStyle(String string)
     setDefaultStyle purpose.
public  voidsetDefinitionQuery(Filter filter)
     setDefinitionQuery purpose.
public  voidsetDirName(String string)
     setDirName purpose.
public  voidsetKeywords(List list)
     setKeywords purpose.
public  voidsetLatLongBBox(Envelope envelope)
     setLatLongBBox purpose.
public  voidsetLegendURL(LegendURLDTO legendURL)
     Returns a reference to an optional legend icon.
public  voidsetMaxFeatures(int maxFeatures)
    
public  voidsetMetadataLinks(List list)
    
public  voidsetName(String string)
     setName purpose.
public  voidsetNativeBBox(Envelope envelope)
     Sets the feature type's envelope in its native CRS for cached storage.
public  voidsetNumDecimals(int i)
     setNumDecimals purpose.
public  voidsetSRS(int i)
     setSRS purpose.
public  voidsetSRSHandling(int i)
    
public  voidsetSchemaAttributes(List schemaElements)
     setSchema purpose.
public  voidsetSchemaBase(String string)
     setSchemaBase purpose.
public  voidsetSchemaFile(File schemaFile)
     Sets the schema file.
public  voidsetSchemaName(String string)
     setSchemaName purpose.
public  voidsetStyles(ArrayList styles)
    
public  voidsetTitle(String string)
     setTitle purpose.
public  voidsetWmsPath(String wmsPath)
    
public  StringtoString()
    


Constructor Detail
FeatureTypeInfoDTO
public FeatureTypeInfoDTO()(Code)
FeatureTypeInfo constructor.

does nothing




FeatureTypeInfoDTO
public FeatureTypeInfoDTO(FeatureTypeInfoDTO dto)(Code)
FeatureTypeInfo constructor.

Creates a copy of the FeatureTypeInfo provided. If the FeatureTypeInfo provided is null then default values are used. All the data structures are cloned.


Parameters:
  dto - The featuretype to copy.
throws:
  NullPointerException - DOCUMENT ME!




Method Detail
addKeyword
public boolean addKeyword(String key)(Code)
setKeywords purpose.

Description ...


Parameters:
  key - boolean true when added.



addStyle
public void addStyle(String styleName)(Code)



clone
public Object clone()(Code)
Implement clone as a deep copy. A copy of this FeatureTypeInfo
See Also:   java.lang.Object.clone



equals
public boolean equals(Object obj)(Code)
Implement equals.

recursively tests to determine if the object passed in is a copy of this object.


Parameters:
  obj - The FeatureTypeInfo object to test. true when the object passed is the same as this object.
See Also:   java.lang.Object.equals(java.lang.Object)



getAbstract
public String getAbstract()(Code)
Short description of FeatureType. Description of FeatureType



getAlias
public String getAlias()(Code)



getCacheMaxAge
public String getCacheMaxAge()(Code)



getDataStoreId
public String getDataStoreId()(Code)
Identifier of DataStore used to create FeatureType. DataStore identifier



getDefaultStyle
public String getDefaultStyle()(Code)
getDefaultStyle purpose.

Description ...




getDefinitionQuery
public Filter getDefinitionQuery()(Code)
getDefinitionQuery purpose.

Description ...




getDirName
public String getDirName()(Code)
getDirName purpose.

Returns the featuretype directory name.

the featuretype directory name



getKey
public String getKey()(Code)
Convience method for dataStoreId.typeName.

This key may be used to store this FeatureType in a Map for later.

dataStoreId.typeName



getKeywords
public List getKeywords()(Code)
List of keywords (limitied to text). List of Keywords about this FeatureType



getLatLongBBox
public Envelope getLatLongBBox()(Code)
The extent of this FeatureType.

Extent is measured against the tranditional LatLong coordinate system.

Envelope of FeatureType



getLegendURL
public LegendURLDTO getLegendURL()(Code)
Gets a reference to an optional legend icon. Value of property legendURL.



getMaxFeatures
public int getMaxFeatures()(Code)



getMetadataLinks
public List getMetadataLinks()(Code)
List of metadataURLs (limited to text). List of metadataURLs about this FeatureType



getName
public String getName()(Code)
Name of featureType, must match typeName provided by DataStore. typeName of FeatureType



getNativeBBox
public Envelope getNativeBBox()(Code)
The extent of this FeatureType.

Extent is measured against the FeatureType's native coordinate system.

Envelope of FeatureType



getNumDecimals
public int getNumDecimals()(Code)
getNumDecimals purpose.

Description ...




getSRS
public int getSRS()(Code)
Spatial Reference System for FeatureType.

Makes use of the standard EPSG codes?

WPSG Spatial Reference System for FeatureType



getSRSHandling
public int getSRSHandling()(Code)



getSchemaAttributes
public List getSchemaAttributes()(Code)
getSchema purpose.

Returns An ordered list of AttributeTypeInfoDTOs

An ordered list of AttributeTypeInfoDTOs



getSchemaBase
public String getSchemaBase()(Code)
getSchemaBase purpose.

Usually generated as: getName + "_Type"




getSchemaFile
public File getSchemaFile()(Code)
Gets the schema.xml file associated with this FeatureType. This is set during the reading of configuration, it is not persisted as an element of the FeatureTypeInfoDTO, since it is just whether the schema.xml file was persisted, and its location. If there is no schema.xml file then this method will return a File object with the location where the schema file would be located, but the file will return false for exists().



getSchemaName
public String getSchemaName()(Code)
getSchemaName purpose.

Description ...




getStyles
public ArrayList getStyles()(Code)



getTitle
public String getTitle()(Code)
Title used to identify FeatureType to user. FeatureType title



getWmsPath
public String getWmsPath()(Code)



hashCode
public int hashCode()(Code)
Implement hashCode. Service hashcode or 0
See Also:   java.lang.Object.hashCode



isCachingEnabled
public boolean isCachingEnabled()(Code)



removeKeyword
public boolean removeKeyword(String key)(Code)
setKeywords purpose.

Description ...


Parameters:
  key - true whwn removed



setAbstract
public void setAbstract(String string)(Code)
setAbstract purpose.

Description ...


Parameters:
  string -



setAlias
public void setAlias(String alias)(Code)



setCacheMaxAge
public void setCacheMaxAge(String cacheMaxAge)(Code)



setCachingEnabled
public void setCachingEnabled(boolean cachingEnabled)(Code)



setDataStoreId
public void setDataStoreId(String store)(Code)
setDataStore purpose.

Description ...


Parameters:
  store -



setDefaultStyle
public void setDefaultStyle(String string)(Code)
setDefaultStyle purpose.

Description ...


Parameters:
  string -



setDefinitionQuery
public void setDefinitionQuery(Filter filter)(Code)
setDefinitionQuery purpose.

Description ...


Parameters:
  filter -



setDirName
public void setDirName(String string)(Code)
setDirName purpose.

Description ...


Parameters:
  string -



setKeywords
public void setKeywords(List list)(Code)
setKeywords purpose.

Description ...


Parameters:
  list -



setLatLongBBox
public void setLatLongBBox(Envelope envelope)(Code)
setLatLongBBox purpose.

Description ...


Parameters:
  envelope -



setLegendURL
public void setLegendURL(LegendURLDTO legendURL)(Code)
Returns a reference to an optional legend icon.
Parameters:
  legendURL - New value of property legendURL.



setMaxFeatures
public void setMaxFeatures(int maxFeatures)(Code)



setMetadataLinks
public void setMetadataLinks(List list)(Code)
Sets the MetadataURL list for this feature type
Parameters:
  list -



setName
public void setName(String string)(Code)
setName purpose.

Description ...


Parameters:
  string -



setNativeBBox
public void setNativeBBox(Envelope envelope)(Code)
Sets the feature type's envelope in its native CRS for cached storage.
Parameters:
  envelope -



setNumDecimals
public void setNumDecimals(int i)(Code)
setNumDecimals purpose.

Description ...


Parameters:
  i -



setSRS
public void setSRS(int i)(Code)
setSRS purpose.

Description ...


Parameters:
  i -



setSRSHandling
public void setSRSHandling(int i)(Code)



setSchemaAttributes
public void setSchemaAttributes(List schemaElements)(Code)
setSchema purpose.

Stores a list of AttributeTypeInfoDTOs.


Parameters:
  schemaElements - An ordered list of AttributeTypeInfoDTOs



setSchemaBase
public void setSchemaBase(String string)(Code)
setSchemaBase purpose.

Description ...


Parameters:
  string -



setSchemaFile
public void setSchemaFile(File schemaFile)(Code)
Sets the schema file. Note that a non-exisiting file can be set here, to indicate that no schema.xml file is present.



setSchemaName
public void setSchemaName(String string)(Code)
setSchemaName purpose.

Description ...


Parameters:
  string -



setStyles
public void setStyles(ArrayList styles)(Code)



setTitle
public void setTitle(String string)(Code)
setTitle purpose.

Description ...


Parameters:
  string -



setWmsPath
public void setWmsPath(String wmsPath)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.