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

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

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

This represents a method/operation/function in a service context. Its input parameters are described by its InputParameter associations, its output by its Output association, and any errors it produces by its Fault associations. This is manifested as an operation of a service in the grid.

See Also:
Serialized Form

Constructor Summary
Operation()
           
Operation(java.lang.String description, OperationFaultCollection faultCollection, OperationInputParameterCollection inputParameterCollection, java.lang.String name, Output output, SemanticMetadata[] semanticMetadata)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Gets the description value for this Operation.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 OperationFaultCollection getFaultCollection()
          Gets the faultCollection value for this Operation.
 OperationInputParameterCollection getInputParameterCollection()
          Gets the inputParameterCollection value for this Operation.
 java.lang.String getName()
          Gets the name value for this Operation.
 Output getOutput()
          Gets the output value for this Operation.
 SemanticMetadata[] getSemanticMetadata()
          Gets the semanticMetadata value for this Operation.
 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
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDescription(java.lang.String description)
          Sets the description value for this Operation.
 void setFaultCollection(OperationFaultCollection faultCollection)
          Sets the faultCollection value for this Operation.
 void setInputParameterCollection(OperationInputParameterCollection inputParameterCollection)
          Sets the inputParameterCollection value for this Operation.
 void setName(java.lang.String name)
          Sets the name value for this Operation.
 void setOutput(Output output)
          Sets the output value for this Operation.
 void setSemanticMetadata(int i, SemanticMetadata _value)
           
 void setSemanticMetadata(SemanticMetadata[] semanticMetadata)
          Sets the semanticMetadata value for this Operation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()

Operation

public Operation(java.lang.String description,
                 OperationFaultCollection faultCollection,
                 OperationInputParameterCollection inputParameterCollection,
                 java.lang.String name,
                 Output output,
                 SemanticMetadata[] semanticMetadata)
Method Detail

getInputParameterCollection

public OperationInputParameterCollection getInputParameterCollection()
Gets the inputParameterCollection value for this Operation.

Returns:
inputParameterCollection

setInputParameterCollection

public void setInputParameterCollection(OperationInputParameterCollection inputParameterCollection)
Sets the inputParameterCollection value for this Operation.

Parameters:
inputParameterCollection -

getOutput

public Output getOutput()
Gets the output value for this Operation.

Returns:
output

setOutput

public void setOutput(Output output)
Sets the output value for this Operation.

Parameters:
output -

getFaultCollection

public OperationFaultCollection getFaultCollection()
Gets the faultCollection value for this Operation.

Returns:
faultCollection

setFaultCollection

public void setFaultCollection(OperationFaultCollection faultCollection)
Sets the faultCollection value for this Operation.

Parameters:
faultCollection -

getSemanticMetadata

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

Returns:
semanticMetadata

setSemanticMetadata

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

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 Operation.

Returns:
description

setDescription

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

Parameters:
description -

getName

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

Returns:
name

setName

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

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.