com.softwareag.mdm.service
Class ServiceKey

java.lang.Object
  extended bycom.softwareag.mdm.service.ServiceKey

public class ServiceKey
extends Object

Identifies a service.

Services are defined in two distinct namespaces:

See Also:
UIHttpManagerComponent

Field Summary
static ServiceKey CREATE
          Built-in creation service.
static ServiceKey MERGE
          Built-in merge service.
static ServiceKey VALIDATION
          Built-in validation service.
 
Method Summary
 boolean equals(Object anObject)
           
static ServiceKey forModuleServiceName(String moduleName, String serviceName)
          Returns an identifier of a service defined in a module.
static ServiceKey forName(String serviceName)
          Returns an identifier of a service defined in a schema.
 String getName()
          Returns the name of the service.
 int hashCode()
           
 boolean isBuiltInService()
          Returns true if this instance identifies a built-in service.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE

public static final ServiceKey CREATE
Built-in creation service.


VALIDATION

public static final ServiceKey VALIDATION
Built-in validation service.


MERGE

public static final ServiceKey MERGE
Built-in merge service.

Method Detail

forName

public static ServiceKey forName(String serviceName)
Returns an identifier of a service defined in a schema.

Parameters:
serviceName - name of the service in the schema (as defined by the attribute /xs:schema/xs:complexType/@name)

forModuleServiceName

public static ServiceKey forModuleServiceName(String moduleName,
                                              String serviceName)
Returns an identifier of a service defined in a module.

Parameters:
moduleName - name of the module (as defined by the element /module/name in document located at /WEB-INF/mdm/module.xml).
serviceName - name of the service in the module (as defined by the attribute /module/services/service/@name in document /WEB-INF/mdm/module.xml).

getName

public String getName()
Returns the name of the service.


equals

public boolean equals(Object anObject)

hashCode

public int hashCode()

isBuiltInService

public boolean isBuiltInService()
Returns true if this instance identifies a built-in service.


toString

public String toString()


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.