Java Doc for ServiceDTO.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.ServiceDTO

ServiceDTO
final public class ServiceDTO implements DataTransferObject(Code)
Data Transfer Object representing GeoServer Service information.

ServiceConfig is intended to be extended to provide some basic data storage facilities. This class represents the basic properties of a web service.

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.

It is very tempting to force Web Services to completely define their own DTO elements (rather than trying for reuse using subclassing or aggregation) - simply to force each service to document what it means by each of these peices of information.


author:
   dzwiers, Refractions Research, Inc.
version:
   $Id: ServiceDTO.java 6326 2007-03-15 18:36:40Z jdeolive $



Constructor Summary
public  ServiceDTO()
     ServiceConfig constructor.
public  ServiceDTO(ServiceDTO dto)
     ServiceConfig constructor.

This is equivalent to calling the clone method.


Method Summary
public  Objectclone()
     Implements clone.
public  booleanequals(Object other)
     Implement equals.
Parameters:
  other - The ServiceConfig object which will be tested.
public  StringgetAbstract()
     getAbstract purpose.
public  StringgetAccessConstraints()
     The access constraints associated with the service.
public  StringgetFees()
     The fees associated with the service.
public  ListgetKeywords()
     Keywords associated with the service.
public  StringgetMaintainer()
     Name of the party who maintains the web service.
public  MetaDataLinkgetMetadataLink()
    
public  StringgetName()
     Name of Service.
public  URLgetOnlineResource()
     Online Reference URL for the web service.
public  intgetPartialBufferSize()
    
public  StringgetStrategy()
    
public  StringgetTitle()
     The title of the service.
public  inthashCode()
     Implement hashCode for ServiceDTO.
public  booleanisEnabled()
     Represents when the Web Service is enabled/disabled.
public  voidsetAbstract(String serviceAbstract)
     Provides a short abstract about the service.

Example:


 This is a test server.
public  voidsetAccessConstraints(String constraints)
     Provide the access constraints associated with the service.
public  voidsetEnabled(boolean b)
     setEnabled purpose.
public  voidsetFees(String string)
     Provide the fees associated with the service.
public  voidsetKeywords(List array)
     Provide keywords associated with the service.
public  voidsetMaintainer(String string)
     Provide the party that maintains the web service.
public  voidsetMetadataLink(MetaDataLink metadataLink)
    
public  voidsetName(String string)
     setName purpose.
public  voidsetOnlineResource(URL url)
     setOnlineResource purpose.
public  voidsetPartialBufferSize(int partialBufferSize)
     Sets the size of the buffer used by the PARTIAL-BUFFER strategy.
public  voidsetStrategy(String strategy)
     Sets the strategy used by the service when performing a response.
public  voidsetTitle(String string)
     Sets the title of the service.


Constructor Detail
ServiceDTO
public ServiceDTO()(Code)
ServiceConfig constructor.

does nothing


See Also:    defaultSettings()



ServiceDTO
public ServiceDTO(ServiceDTO dto)(Code)
ServiceConfig constructor.

This is equivalent to calling the clone method. When a null value is passed in, the default values are used. All non-primary datatypes are cloned with the exception of Strings (which have a singleton hash table in memory representation).


Parameters:
  dto - The ServiceConfig object to copy into the new ServiceConfigobject.
throws:
  NullPointerException - If dto is null
See Also:    defaultSettings()
See Also:    clone()




Method Detail
clone
public Object clone()(Code)
Implements clone. An instance of a ServiceConfig object which represents a copy ofthe existing ServiceConfig Object.
See Also:   java.lang.Object.clone



equals
public boolean equals(Object other)(Code)
Implement equals.
Parameters:
  other - The ServiceConfig object which will be tested. true when the classes are equal.
See Also:   java.lang.Object.equals(java.lang.Object)



getAbstract
public String getAbstract()(Code)
getAbstract purpose.



getAccessConstraints
public String getAccessConstraints()(Code)
The access constraints associated with the service.

When there are not any, the value "NONE" is used.

Example: "NONE"

DOCUMENT ME!



getFees
public String getFees()(Code)
The fees associated with the service.

When there are not any fees, the value "NONE" is used.

Example: NONE

DOCUMENT ME!



getKeywords
public List getKeywords()(Code)
Keywords associated with the service.

Example: new String[]{"WFS","New York"}

DOCUMENT ME!



getMaintainer
public String getMaintainer()(Code)
Name of the party who maintains the web service.

Should ideally be contact information such as a email address.

Example: "The Open Planning Project"

The maintainer of this Service



getMetadataLink
public MetaDataLink getMetadataLink()(Code)
Returns the metadataLink.



getName
public String getName()(Code)
Name of Service.



getOnlineResource
public URL getOnlineResource()(Code)
Online Reference URL for the web service.

A location to look for when additional assistance is required.

Example: new URL("http://www.openplans.org/")

DOCUMENT ME!



getPartialBufferSize
public int getPartialBufferSize()(Code)
The size of the buffer used by the PARTIAL-BUFFER strategy.TODO: this should be factored out when config is splittable among modules.



getStrategy
public String getStrategy()(Code)
The strategy used by the service when performing a response.



getTitle
public String getTitle()(Code)
The title of the service.

Example: The Open Planning Project Basemap Server

DOCUMENT ME!



hashCode
public int hashCode()(Code)
Implement hashCode for ServiceDTO. Hashcode in agreement with equals method
See Also:   java.lang.Object.hashCode



isEnabled
public boolean isEnabled()(Code)
Represents when the Web Service is enabled/disabled. true is service is enabled



setAbstract
public void setAbstract(String serviceAbstract)(Code)
Provides a short abstract about the service.

Example:


 This is a test server.  It contains some basemap data from New York City.
 


Parameters:
  serviceAbstract - Abstract describing service



setAccessConstraints
public void setAccessConstraints(String constraints)(Code)
Provide the access constraints associated with the service.

When there are not any, use the value "NONE".

Example: "NONE"


Parameters:
  constraints - DOCUMENT ME!



setEnabled
public void setEnabled(boolean b)(Code)
setEnabled purpose.
Parameters:
  b -



setFees
public void setFees(String string)(Code)
Provide the fees associated with the service.

When there are not any fees, use the value "NONE".

Example: NONE


Parameters:
  string - DOCUMENT ME!



setKeywords
public void setKeywords(List array)(Code)
Provide keywords associated with the service.

Example: new String[]{"WFS","New York"}


Parameters:
  array - DOCUMENT ME!



setMaintainer
public void setMaintainer(String string)(Code)
Provide the party that maintains the web service.

Should ideally be contact information such as a email address.

Example: "The Open Planning Project"


Parameters:
  string - DOCUMENT ME!



setMetadataLink
public void setMetadataLink(MetaDataLink metadataLink)(Code)

Parameters:
  metadataLink - The metadataLink to set.



setName
public void setName(String string)(Code)
setName purpose.
Parameters:
  string -



setOnlineResource
public void setOnlineResource(URL url)(Code)
setOnlineResource purpose.
Parameters:
  url -



setPartialBufferSize
public void setPartialBufferSize(int partialBufferSize)(Code)
Sets the size of the buffer used by the PARTIAL-BUFFER strategy. TODO: this should be factored out when config is splittable among modules.



setStrategy
public void setStrategy(String strategy)(Code)
Sets the strategy used by the service when performing a response.



setTitle
public void setTitle(String string)(Code)
Sets the title of the service.

Example: The Open Planning Project Basemap Server


Parameters:
  string - Title of the Service



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.