Esri Geoportal Server
1.0

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

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

public class AGSTarget
extends Object

Holds properties associated with an ArcGIS Server and the type of resource targetted for processing.


Nested Class Summary
static class AGSTarget.TargetType
          The type of resource that ws targettted on the ArcGIS server.
 
Constructor Summary
AGSTarget()
          Default constructor.
 
Method Summary
 String getRestUrl()
          Gets the URL to the REST services endpoint of the ArcGIS server.
 String getSoapUrl()
          Gets the URL to the SOAP services endpoint of the ArcGIS server.
 String getTargetSoapUrl()
          Gets target SOAP URL.
 AGSTarget.TargetType getTargetType()
          Gets the type of resource that is targeted for processing.
 String getTargetUrl()
          Gets the URL to the targetted resource.
 boolean getWasRecognized()
          Gets the status indicacating whether or not the target was recognized.
 void setRestUrl(String url)
          Sets the URL to the REST services endpoint of the ArcGIS server.
 void setSoapUrl(String url)
          Sets the SOAP URL for the service.
 void setTargetSoapUrl(String targetSoapUrl)
          Sets target SOAP URL.
 void setTargetType(AGSTarget.TargetType type)
          Sets the type of resource that is targetted for processing.
 void setTargetUrl(String url)
          Sets the URL to the targetted resource.
 void setWasRecognized(boolean wasRecognized)
          Sets the status indicacating whether or not the target was recognized.
 String toString()
          Returns a string representation of the object.
 void updateTargetSoapUrl()
          Update target SOAP URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AGSTarget

public AGSTarget()
Default constructor.

Method Detail

getRestUrl

public String getRestUrl()
Gets the URL to the REST services endpoint of the ArcGIS server.

Returns:
the REST URL

setRestUrl

public void setRestUrl(String url)
Sets the URL to the REST services endpoint of the ArcGIS server.

Parameters:
url - the REST URL

getSoapUrl

public String getSoapUrl()
Gets the URL to the SOAP services endpoint of the ArcGIS server.

Returns:
the SOAP URL

setSoapUrl

public void setSoapUrl(String url)
Sets the SOAP URL for the service.

Parameters:
url - the SOAP URL

getTargetUrl

public String getTargetUrl()
Gets the URL to the targetted resource.

Returns:
the targetted resource URL

setTargetUrl

public void setTargetUrl(String url)
Sets the URL to the targetted resource.

Parameters:
url - the targetted resource URL

getTargetSoapUrl

public String getTargetSoapUrl()
Gets target SOAP URL.

Returns:
target SOAP URL

setTargetSoapUrl

public void setTargetSoapUrl(String targetSoapUrl)
Sets target SOAP URL.

Parameters:
targetSoapUrl - target SOAP URL

updateTargetSoapUrl

public void updateTargetSoapUrl()
Update target SOAP URL.


getTargetType

public AGSTarget.TargetType getTargetType()
Gets the type of resource that is targeted for processing.

Returns:
the target type

setTargetType

public void setTargetType(AGSTarget.TargetType type)
Sets the type of resource that is targetted for processing.

Parameters:
type - the target type

getWasRecognized

public boolean getWasRecognized()
Gets the status indicacating whether or not the target was recognized.

Returns:
true if the target was recognized

setWasRecognized

public void setWasRecognized(boolean wasRecognized)
Sets the status indicacating whether or not the target was recognized.

Parameters:
wasRecognized - true if the target was recognized

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

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