FileDocCategorySizeDatePackage
FaultDesc.javaAPI DocApache Axis 1.42996Sat Apr 22 18:57:28 BST 2006org.apache.axis.description

FaultDesc

public class FaultDesc extends Object implements Serializable
Holds information about a fault for an operation
author
Glen Daniels (gdaniels@apache.org)
author
Tom Jordahl (tomj@apache.org)

Fields Summary
private String
name
private QName
qname
private ArrayList
parameters
private String
className
private QName
xmlType
private boolean
complex
Constructors Summary
public FaultDesc()
Default constructor

    
public FaultDesc(QName qname, String className, QName xmlType, boolean complex)
Full constructor

        this.qname = qname;
        this.className = className;
        this.xmlType = xmlType;
        this.complex = complex;
    
Methods Summary
public java.lang.StringgetClassName()

        return className;
    
public java.lang.StringgetName()

        return name;
    
public java.util.ArrayListgetParameters()

        return parameters;
    
public javax.xml.namespace.QNamegetQName()

        return qname;
    
public javax.xml.namespace.QNamegetXmlType()

        return xmlType;
    
public booleanisComplex()

        return complex;
    
public voidsetClassName(java.lang.String className)

        this.className = className;
    
public voidsetComplex(boolean complex)

        this.complex = complex;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public voidsetParameters(java.util.ArrayList parameters)

        this.parameters = parameters;
    
public voidsetQName(javax.xml.namespace.QName name)

        this.qname = name;
    
public voidsetXmlType(javax.xml.namespace.QName xmlType)

        this.xmlType = xmlType;
    
public java.lang.StringtoString()

        return toString("");
    
public java.lang.StringtoString(java.lang.String indent)

        String text ="";
        text+= indent + "name: " + getName() + "\n";
        text+= indent + "qname: " + getQName() + "\n";
        text+= indent + "type: " + getXmlType() + "\n";
        text+= indent + "Class: " + getClassName() + "\n";
        for (int i=0; parameters != null && i < parameters.size(); i++) {
            text+= indent +" ParameterDesc[" + i + "]:\n";
            text+= indent + ((ParameterDesc)parameters.get(i)).toString("  ") + "\n";
        }
        return text;