org.geotools.data
Class DefaultServiceInfo

Object
  extended by DefaultServiceInfo
All Implemented Interfaces:
Serializable, ServiceInfo

public class DefaultServiceInfo
extends Object
implements ServiceInfo, Serializable

Implementation of DefaultServiceInfo as a java bean.

Author:
Jody Garnett (Refractions Research)
See Also:
Serialized Form
Module:
modules/library/main (gt-main.jar)

Field Summary
protected  String description
           
protected  Set<String> keywords
           
protected  URI publisher
           
protected  URI schema
           
protected  String title
           
 
Constructor Summary
DefaultServiceInfo()
           
DefaultServiceInfo(ServiceInfo copy)
           
 
Method Summary
 String getDescription()
          Human readable description of this service.
 Set<String> getKeywords()
          Keywords associated with this service.
 URI getPublisher()
          Party responsible for providing this service.
 URI getSchema()
          A URI used to identify the service type.
 URI getSource()
          Returns the service source.
 String getTitle()
          Human readable title representing the service.
 void setDescription(String description)
           
 void setKeywords(Set<String> keywords)
           
 void setPublisher(URI publisher)
           
 void setSchema(URI schema)
           
 void setSource(URI source)
           
 void setTitle(String title)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

protected String description

keywords

protected Set<String> keywords

publisher

protected URI publisher

schema

protected URI schema

title

protected String title
Constructor Detail

DefaultServiceInfo

public DefaultServiceInfo()

DefaultServiceInfo

public DefaultServiceInfo(ServiceInfo copy)
Method Detail

getDescription

public String getDescription()
Description copied from interface: ServiceInfo
Human readable description of this service.

This use is understood to be in agreement with "dublin-core", implementors may use either abstract or description as needed.

Specified by:
getDescription in interface ServiceInfo
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getKeywords

public Set<String> getKeywords()
Description copied from interface: ServiceInfo
Keywords associated with this service.

Maps to the Dublin Core Subject element.

Specified by:
getKeywords in interface ServiceInfo
Returns:
the keywords

setKeywords

public void setKeywords(Set<String> keywords)
Parameters:
keywords - the keywords to set

getPublisher

public URI getPublisher()
Description copied from interface: ServiceInfo
Party responsible for providing this service.

Known mappings:

Specified by:
getPublisher in interface ServiceInfo
Returns:
the publisher

setPublisher

public void setPublisher(URI publisher)
Parameters:
publisher - the publisher to set

getSchema

public URI getSchema()
Description copied from interface: ServiceInfo
A URI used to identify the service type.

Maps to the Dublin Code Format element.

Specified by:
getSchema in interface ServiceInfo
Returns:
the schema

setSchema

public void setSchema(URI schema)
Parameters:
schema - the schema to set

getTitle

public String getTitle()
Description copied from interface: ServiceInfo
Human readable title representing the service.

The title is used to represent the service in the context of a user interface and should make use of the current Locale if possible.

Specified by:
getTitle in interface ServiceInfo
Returns:
the title

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

getSource

public URI getSource()
Description copied from interface: ServiceInfo
Returns the service source.

Maps to the Dublin Core Server Element.

Specified by:
getSource in interface ServiceInfo
Returns:
the source

setSource

public void setSource(URI source)
Parameters:
source - the source to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.