com.esri.aims.mtier.model.service
Class Service

java.lang.Object
  extended by com.esri.aims.mtier.model.service.Service
All Implemented Interfaces:
Serializable

public class Service
extends Object
implements Serializable

The Service object represents an ArcIMS Service. The Service Object contains properties for name, type, status, etc.

See Also:
Serialized Form

Constructor Summary
Service()
          Constructs an instance of a Service object.
 
Method Summary
 String getAccess()
          Returns the access type of the Services virtual server.
 String getName()
          Returns the name of the ArcIMS MapService.
 String getServiceGroup()
          Returns the name of the service group that the service belongs to.
 String getStatus()
          Returns the status value for the ArcIMS MapService.
 String getType()
          Returns the type value for the ArcIMS MapService.
 String getVersion()
          Return "ArcMap" for ArcMap Image Services or blank for all other service types.
 void setAccess(String value)
          Represents the access type of the Services virtual server.
 void setName(String value)
          Sets the name of the ArcIMS MapService.
 void setServiceGroup(String value)
          Sets the name of the service group that the service belongs to.
 void setStatus(String value)
          Sets the status value for the ArcIMS MapService.
 void setType(String value)
          Sets the type value for the ArcIMS MapService.
 void setVersion(String value)
          Sets the version value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service()
Constructs an instance of a Service object.
Service service = new Service();

Method Detail

setAccess

public void setAccess(String value)
Represents the access type of the Services virtual server.

Parameters:
value - the access type.
See Also:
getAccess()

getAccess

public String getAccess()
Returns the access type of the Services virtual server.
String access = service.getAccess();

Returns:
String
See Also:
setAccess(java.lang.String)

setName

public void setName(String value)
Sets the name of the ArcIMS MapService.

Parameters:
value - the name value.
See Also:
getName()

getName

public String getName()
Returns the name of the ArcIMS MapService.
String name = service.getName();

Returns:
String
See Also:
setName(java.lang.String)

setServiceGroup

public void setServiceGroup(String value)
Sets the name of the service group that the service belongs to.

Parameters:
value - the service group name.
See Also:
getServiceGroup()

getServiceGroup

public String getServiceGroup()
Returns the name of the service group that the service belongs to.
String group = service.getServiceGroup();

Returns:
String
See Also:
setServiceGroup(java.lang.String)

setStatus

public void setStatus(String value)
Sets the status value for the ArcIMS MapService.

Parameters:
value - the status value.
See Also:
getStatus()

getStatus

public String getStatus()
Returns the status value for the ArcIMS MapService.
String status = service.getStatus();

Returns:
String
See Also:
setStatus(java.lang.String)

setType

public void setType(String value)
Sets the type value for the ArcIMS MapService.

Parameters:
value - the type value.
See Also:
getType()

getType

public String getType()
Returns the type value for the ArcIMS MapService.
String type = service.getType();

Returns:
String
See Also:
setType(java.lang.String)

setVersion

public void setVersion(String value)
Sets the version value.

Parameters:
value - String

getVersion

public String getVersion()
Return "ArcMap" for ArcMap Image Services or blank for all other service types.

Returns:
String