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

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

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

Service definition type enumeration.

Signifies an individual service. This corresponds to a public service name that's used by external systems to identify the service that a requester is interacting with.

Signifies a service group. A service group is a container, or grouping, of different services or service groups.

See Also:
Serialized Form

Field Summary
static java.lang.String _Service
           
static java.lang.String _ServiceGroup
           
static ServiceType Service
           
static ServiceType ServiceGroup
           
 
Constructor Summary
protected ServiceType(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static ServiceType fromString(java.lang.String value)
           
static ServiceType fromValue(java.lang.String value)
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_Service

public static final java.lang.String _Service
See Also:
Constant Field Values

_ServiceGroup

public static final java.lang.String _ServiceGroup
See Also:
Constant Field Values

Service

public static final ServiceType Service

ServiceGroup

public static final ServiceType ServiceGroup
Constructor Detail

ServiceType

protected ServiceType(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()

fromValue

public static ServiceType fromValue(java.lang.String value)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

fromString

public static ServiceType fromString(java.lang.String value)
                              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © IBM Corp. All Rights Reserved.