Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.arcgis.metadata
Class ServiceInfoWrapper

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.metadata.ServiceInfo
      extended by com.esri.gpt.catalog.arcgis.metadata.ServiceInfoWrapper

public class ServiceInfoWrapper
extends ServiceInfo

Service info wrapper.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.catalog.arcgis.metadata.ServiceInfo
ServiceInfo.LayerInfo
 
Constructor Summary
ServiceInfoWrapper(ServiceInfo serviceInfo)
           
 
Method Summary
 void addKeywords(String words, String delimiter)
          Adds one or more keywords to the keyword set.
 void addRDFPair(String predicate, String value)
          Adds a predicate/value pair to the catch-all map of RDF pairs associated with the service.
 String asDublinCore(AGSProcessor processor)
          Returns the Dublin Core metadata for the service.
 String asDublinCore(ApplicationConfiguration cfg, HttpClientRequest http)
          Returns the Dublin Core metadata for the service.
 String getCapabilities()
          Gets the capabilities string associated with the service.
 String getCopyright()
          Gets copyright info.
 String getCreator()
          Gets the service creator.
 String getDescription()
          Gets the service description.
 com.esri.arcgisws.Envelope getEnvelope()
          Gets the service envelope.
 StringSet getKeywords()
          Gets the keywords associated with the service.
 List<ServiceInfo.LayerInfo> getLayersInfo()
          Gets layers info.
 String getName()
          Gets the service name.
 ServiceInfo getParentInfo()
          Gets parent info.
 String getParentType()
          Gets the parent service type.
 String getResourceUrl()
          Gets the resource URL for the service.
 String getRestUrl()
          Gets the REST URL for the service.
 String getSoapUrl()
          Gets the SOAP URL for the service.
 String getText()
          Gets text info.
 String getThumbnailUrl()
          Gets the thumbnail URL for the service.
 String getType()
          Gets the service type.
 void setCapabilities(String capabilities)
          Sets the capabilities string associated with the service.
 void setCopyright(String copyright)
          Sets copyright info.
 void setCreator(String creator)
          Sets the service creator.
 void setDescription(String description)
          Sets the service description.
 void setEnvelope(com.esri.arcgisws.Envelope envelope)
          Sets the service envelope.
 void setLayersInfo(List<ServiceInfo.LayerInfo> layersInfo)
          Sets layers info.
 void setName(String name)
          Sets the service name.
 void setParentInfo(ServiceInfo parentInfo)
          Sets parent info.
 void setParentType(String type)
          Sets the parent service type.
 void setResourceUrl(String url)
          Sets the resource URL for the service.
 void setRestUrl(String url)
          Sets the REST URL for the service.
 void setSoapUrl(String url)
          Sets the SOAP URL for the service.
 void setText(String text)
          Sets text info.
 void setThumbnailUrl(String url)
          Sets the thumbnail URL for the service.
 void setType(String type)
          Sets the service type.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceInfoWrapper

public ServiceInfoWrapper(ServiceInfo serviceInfo)
Method Detail

getText

public String getText()
Description copied from class: ServiceInfo
Gets text info.

Overrides:
getText in class ServiceInfo
Returns:
text info

setText

public void setText(String text)
Description copied from class: ServiceInfo
Sets text info.

Overrides:
setText in class ServiceInfo
Parameters:
text - text info

getLayersInfo

public List<ServiceInfo.LayerInfo> getLayersInfo()
Description copied from class: ServiceInfo
Gets layers info.

Overrides:
getLayersInfo in class ServiceInfo
Returns:
list of layers info

setLayersInfo

public void setLayersInfo(List<ServiceInfo.LayerInfo> layersInfo)
Description copied from class: ServiceInfo
Sets layers info.

Overrides:
setLayersInfo in class ServiceInfo
Parameters:
layersInfo - list of layers info

getCopyright

public String getCopyright()
Description copied from class: ServiceInfo
Gets copyright info.

Overrides:
getCopyright in class ServiceInfo
Returns:
copyright info

setCopyright

public void setCopyright(String copyright)
Description copied from class: ServiceInfo
Sets copyright info.

Overrides:
setCopyright in class ServiceInfo
Parameters:
copyright - copyright info

getParentInfo

public ServiceInfo getParentInfo()
Description copied from class: ServiceInfo
Gets parent info.

Overrides:
getParentInfo in class ServiceInfo
Returns:
parent info

setParentInfo

public void setParentInfo(ServiceInfo parentInfo)
Description copied from class: ServiceInfo
Sets parent info.

Overrides:
setParentInfo in class ServiceInfo
Parameters:
parentInfo - parent info

getCreator

public String getCreator()
Description copied from class: ServiceInfo
Gets the service creator.

Overrides:
getCreator in class ServiceInfo
Returns:
the service creator

setCreator

public void setCreator(String creator)
Description copied from class: ServiceInfo
Sets the service creator.

Overrides:
setCreator in class ServiceInfo
Parameters:
creator - the service creator

getCapabilities

public String getCapabilities()
Description copied from class: ServiceInfo
Gets the capabilities string associated with the service.

Overrides:
getCapabilities in class ServiceInfo
Returns:
the capabilities

setCapabilities

public void setCapabilities(String capabilities)
Description copied from class: ServiceInfo
Sets the capabilities string associated with the service.

Overrides:
setCapabilities in class ServiceInfo
Parameters:
capabilities - the capabilities

getDescription

public String getDescription()
Description copied from class: ServiceInfo
Gets the service description.

Overrides:
getDescription in class ServiceInfo
Returns:
the description

setDescription

public void setDescription(String description)
Description copied from class: ServiceInfo
Sets the service description.

Overrides:
setDescription in class ServiceInfo
Parameters:
description - the description

getEnvelope

public com.esri.arcgisws.Envelope getEnvelope()
Description copied from class: ServiceInfo
Gets the service envelope.

Overrides:
getEnvelope in class ServiceInfo
Returns:
the envelope

setEnvelope

public void setEnvelope(com.esri.arcgisws.Envelope envelope)
Description copied from class: ServiceInfo
Sets the service envelope.

Overrides:
setEnvelope in class ServiceInfo
Parameters:
envelope - the envelope

getKeywords

public StringSet getKeywords()
Description copied from class: ServiceInfo
Gets the keywords associated with the service.

Overrides:
getKeywords in class ServiceInfo
Returns:
the keywords

getName

public String getName()
Description copied from class: ServiceInfo
Gets the service name.

Overrides:
getName in class ServiceInfo
Returns:
the name

setName

public void setName(String name)
Description copied from class: ServiceInfo
Sets the service name.

Overrides:
setName in class ServiceInfo
Parameters:
name - the name

getParentType

public String getParentType()
Description copied from class: ServiceInfo
Gets the parent service type.

Overrides:
getParentType in class ServiceInfo
Returns:
the parent type

setParentType

public void setParentType(String type)
Description copied from class: ServiceInfo
Sets the parent service type.

Overrides:
setParentType in class ServiceInfo
Parameters:
type - the parent type

getResourceUrl

public String getResourceUrl()
Description copied from class: ServiceInfo
Gets the resource URL for the service.

Overrides:
getResourceUrl in class ServiceInfo
Returns:
the resource URL

setResourceUrl

public void setResourceUrl(String url)
Description copied from class: ServiceInfo
Sets the resource URL for the service.

Overrides:
setResourceUrl in class ServiceInfo
Parameters:
url - the resource URL

getRestUrl

public String getRestUrl()
Description copied from class: ServiceInfo
Gets the REST URL for the service.

Overrides:
getRestUrl in class ServiceInfo
Returns:
the REST URL

setRestUrl

public void setRestUrl(String url)
Description copied from class: ServiceInfo
Sets the REST URL for the service.

Overrides:
setRestUrl in class ServiceInfo
Parameters:
url - the REST URL

getSoapUrl

public String getSoapUrl()
Description copied from class: ServiceInfo
Gets the SOAP URL for the service.

Overrides:
getSoapUrl in class ServiceInfo
Returns:
the SOAP URL

setSoapUrl

public void setSoapUrl(String url)
Description copied from class: ServiceInfo
Sets the SOAP URL for the service.

Overrides:
setSoapUrl in class ServiceInfo
Parameters:
url - the SOAP URL

getThumbnailUrl

public String getThumbnailUrl()
Description copied from class: ServiceInfo
Gets the thumbnail URL for the service.

Overrides:
getThumbnailUrl in class ServiceInfo
Returns:
the thumbnail URL

setThumbnailUrl

public void setThumbnailUrl(String url)
Description copied from class: ServiceInfo
Sets the thumbnail URL for the service.

Overrides:
setThumbnailUrl in class ServiceInfo
Parameters:
url - the thumbnail URL

getType

public String getType()
Description copied from class: ServiceInfo
Gets the service type.

Overrides:
getType in class ServiceInfo
Returns:
the type

setType

public void setType(String type)
Description copied from class: ServiceInfo
Sets the service type.

Overrides:
setType in class ServiceInfo
Parameters:
type - the type

addKeywords

public void addKeywords(String words,
                        String delimiter)
Description copied from class: ServiceInfo
Adds one or more keywords to the keyword set.

Overrides:
addKeywords in class ServiceInfo
Parameters:
words - the delimited list of words to add
delimiter - thedelimited (can be null)

addRDFPair

public void addRDFPair(String predicate,
                       String value)
Description copied from class: ServiceInfo
Adds a predicate/value pair to the catch-all map of RDF pairs associated with the service.

Overrides:
addRDFPair in class ServiceInfo
Parameters:
predicate - the predicate URI
value - the literal value

asDublinCore

public String asDublinCore(AGSProcessor processor)
                    throws Exception
Description copied from class: ServiceInfo
Returns the Dublin Core metadata for the service.

Overrides:
asDublinCore in class ServiceInfo
Parameters:
processor - the ArcGIS Server service processor
Returns:
the Dublin Core metadata
Throws:
Exception - if an exception occurs

asDublinCore

public String asDublinCore(ApplicationConfiguration cfg,
                           HttpClientRequest http)
                    throws Exception
Description copied from class: ServiceInfo
Returns the Dublin Core metadata for the service.

Overrides:
asDublinCore in class ServiceInfo
Parameters:
cfg - application configuration
http - HTTP client request
Returns:
the Dublin Core metadata
Throws:
Exception - if an exception occurs

toString

public String toString()
Description copied from class: ServiceInfo
Returns a string representation of the object.

Overrides:
toString in class ServiceInfo
Returns:
the string

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.