gov.nih.nci.cagrid.metadata.service
Class ServiceContext

java.lang.Object
  extended by gov.nih.nci.cagrid.metadata.service.ServiceContext
All Implemented Interfaces:
java.io.Serializable

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

This is a functional collection of operations that work over a common collection of stateful resources. A service without stateful resources would have a single context. This is manifested as an actual service in the grid.

See Also:
Serialized Form

Constructor Summary
ServiceContext()
           
ServiceContext(ServiceContextContextPropertyCollection contextPropertyCollection, java.lang.String description, java.lang.String name, ServiceContextOperationCollection operationCollection)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ServiceContextContextPropertyCollection getContextPropertyCollection()
          Gets the contextPropertyCollection value for this ServiceContext.
 java.lang.String getDescription()
          Gets the description value for this ServiceContext.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getName()
          Gets the name value for this ServiceContext.
 ServiceContextOperationCollection getOperationCollection()
          Gets the operationCollection value for this ServiceContext.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setContextPropertyCollection(ServiceContextContextPropertyCollection contextPropertyCollection)
          Sets the contextPropertyCollection value for this ServiceContext.
 void setDescription(java.lang.String description)
          Sets the description value for this ServiceContext.
 void setName(java.lang.String name)
          Sets the name value for this ServiceContext.
 void setOperationCollection(ServiceContextOperationCollection operationCollection)
          Sets the operationCollection value for this ServiceContext.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContext

public ServiceContext()

ServiceContext

public ServiceContext(ServiceContextContextPropertyCollection contextPropertyCollection,
                      java.lang.String description,
                      java.lang.String name,
                      ServiceContextOperationCollection operationCollection)
Method Detail

getOperationCollection

public ServiceContextOperationCollection getOperationCollection()
Gets the operationCollection value for this ServiceContext.

Returns:
operationCollection

setOperationCollection

public void setOperationCollection(ServiceContextOperationCollection operationCollection)
Sets the operationCollection value for this ServiceContext.

Parameters:
operationCollection -

getContextPropertyCollection

public ServiceContextContextPropertyCollection getContextPropertyCollection()
Gets the contextPropertyCollection value for this ServiceContext.

Returns:
contextPropertyCollection

setContextPropertyCollection

public void setContextPropertyCollection(ServiceContextContextPropertyCollection contextPropertyCollection)
Sets the contextPropertyCollection value for this ServiceContext.

Parameters:
contextPropertyCollection -

getDescription

public java.lang.String getDescription()
Gets the description value for this ServiceContext.

Returns:
description

setDescription

public void setDescription(java.lang.String description)
Sets the description value for this ServiceContext.

Parameters:
description -

getName

public java.lang.String getName()
Gets the name value for this ServiceContext.

Returns:
name

setName

public void setName(java.lang.String name)
Sets the name value for this ServiceContext.

Parameters:
name -

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.