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

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

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

This represents an error that could occur during the execution of the operation. This is manifested as an operation fault in the grid.

See Also:
Serialized Form

Constructor Summary
Fault()
           
Fault(java.lang.String description, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Gets the description value for this Fault.
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 Fault.
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 Fault.
 void setName(java.lang.String name)
          Sets the name value for this Fault.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fault

public Fault()

Fault

public Fault(java.lang.String description,
             java.lang.String name)
Method Detail

getDescription

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

Returns:
description

setDescription

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

Parameters:
description -

getName

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

Returns:
name

setName

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

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.