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

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

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

A service is a "conceptual" definition of a collection of functional contexts. This has no physical manifestation in the grid.

See Also:
Serialized Form

Constructor Summary
Service()
           
Service(CaDSRRegistration caDSRRegistration, java.lang.String description, java.lang.String name, ServicePointOfContactCollection pointOfContactCollection, SemanticMetadata[] semanticMetadata, ServiceServiceContextCollection serviceContextCollection, java.lang.String version)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 CaDSRRegistration getCaDSRRegistration()
          Gets the caDSRRegistration value for this Service.
 java.lang.String getDescription()
          Gets the description value for this Service.
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 Service.
 ServicePointOfContactCollection getPointOfContactCollection()
          Gets the pointOfContactCollection value for this Service.
 SemanticMetadata[] getSemanticMetadata()
          Gets the semanticMetadata value for this Service.
 SemanticMetadata getSemanticMetadata(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 ServiceServiceContextCollection getServiceContextCollection()
          Gets the serviceContextCollection value for this Service.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getVersion()
          Gets the version value for this Service.
 int hashCode()
           
 void setCaDSRRegistration(CaDSRRegistration caDSRRegistration)
          Sets the caDSRRegistration value for this Service.
 void setDescription(java.lang.String description)
          Sets the description value for this Service.
 void setName(java.lang.String name)
          Sets the name value for this Service.
 void setPointOfContactCollection(ServicePointOfContactCollection pointOfContactCollection)
          Sets the pointOfContactCollection value for this Service.
 void setSemanticMetadata(int i, SemanticMetadata _value)
           
 void setSemanticMetadata(SemanticMetadata[] semanticMetadata)
          Sets the semanticMetadata value for this Service.
 void setServiceContextCollection(ServiceServiceContextCollection serviceContextCollection)
          Sets the serviceContextCollection value for this Service.
 void setVersion(java.lang.String version)
          Sets the version value for this Service.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service()

Service

public Service(CaDSRRegistration caDSRRegistration,
               java.lang.String description,
               java.lang.String name,
               ServicePointOfContactCollection pointOfContactCollection,
               SemanticMetadata[] semanticMetadata,
               ServiceServiceContextCollection serviceContextCollection,
               java.lang.String version)
Method Detail

getPointOfContactCollection

public ServicePointOfContactCollection getPointOfContactCollection()
Gets the pointOfContactCollection value for this Service.

Returns:
pointOfContactCollection

setPointOfContactCollection

public void setPointOfContactCollection(ServicePointOfContactCollection pointOfContactCollection)
Sets the pointOfContactCollection value for this Service.

Parameters:
pointOfContactCollection -

getServiceContextCollection

public ServiceServiceContextCollection getServiceContextCollection()
Gets the serviceContextCollection value for this Service.

Returns:
serviceContextCollection

setServiceContextCollection

public void setServiceContextCollection(ServiceServiceContextCollection serviceContextCollection)
Sets the serviceContextCollection value for this Service.

Parameters:
serviceContextCollection -

getCaDSRRegistration

public CaDSRRegistration getCaDSRRegistration()
Gets the caDSRRegistration value for this Service.

Returns:
caDSRRegistration

setCaDSRRegistration

public void setCaDSRRegistration(CaDSRRegistration caDSRRegistration)
Sets the caDSRRegistration value for this Service.

Parameters:
caDSRRegistration -

getSemanticMetadata

public SemanticMetadata[] getSemanticMetadata()
Gets the semanticMetadata value for this Service.

Returns:
semanticMetadata

setSemanticMetadata

public void setSemanticMetadata(SemanticMetadata[] semanticMetadata)
Sets the semanticMetadata value for this Service.

Parameters:
semanticMetadata -

getSemanticMetadata

public SemanticMetadata getSemanticMetadata(int i)

setSemanticMetadata

public void setSemanticMetadata(int i,
                                SemanticMetadata _value)

getDescription

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

Returns:
description

setDescription

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

Parameters:
description -

getName

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

Returns:
name

setName

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

Parameters:
name -

getVersion

public java.lang.String getVersion()
Gets the version value for this Service.

Returns:
version

setVersion

public void setVersion(java.lang.String version)
Sets the version value for this Service.

Parameters:
version -

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.