com.ibm.twss.spm.admin.common
Class ServiceDefinition

java.lang.Object
  extended by com.ibm.twss.spm.admin.common.ServiceDefinition
All Implemented Interfaces:
java.io.Serializable

public class ServiceDefinition
extends java.lang.Object
implements java.io.Serializable

Definition of a service. A service may be either an individual service or a service group. All services must have a valid parent group. Individual services may not have any children in the service hierarchy. Individual services also may possess a list of operations and registered service implementations. Both individual services and groups always have the 'ALL' operation associated with them, although service groups may not possess a list of operations.

service

Service name.

parentGroup

Service parent group name. This field is required when creating a service or service group.

enabled

Service enabled (true) or disabled (false).

description

Service description.

definitionType

An enumeration of service types. This field is required when creating a service or service group. Once a service is created, the type can not be changed.

See Also:
Serialized Form

Constructor Summary
ServiceDefinition()
           
 
Method Summary
 ServiceType getDefinitionType()
           
 java.lang.String getDescription()
           
 java.lang.Boolean getEnabled()
           
 java.lang.String getParentGroup()
           
 java.lang.String getService()
           
 void setDefinitionType(ServiceType definitionType)
           
 void setDescription(java.lang.String description)
           
 void setEnabled(java.lang.Boolean enabled)
           
 void setParentGroup(java.lang.String parentGroup)
           
 void setService(java.lang.String service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDefinition

public ServiceDefinition()
Method Detail

getService

public java.lang.String getService()

setService

public void setService(java.lang.String service)

getParentGroup

public java.lang.String getParentGroup()

setParentGroup

public void setParentGroup(java.lang.String parentGroup)

getEnabled

public java.lang.Boolean getEnabled()

setEnabled

public void setEnabled(java.lang.Boolean enabled)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getDefinitionType

public ServiceType getDefinitionType()

setDefinitionType

public void setDefinitionType(ServiceType definitionType)


Copyright © IBM Corp. All Rights Reserved.