FileDocCategorySizeDatePackage
SOAPStruct.javaAPI DocApache Axis 1.42764Sat Apr 22 18:57:28 BST 2006test.wsdl.interop3.groupE

SOAPStruct

public class SOAPStruct extends Object
Test structure used by the WSDLInteropTestDocLitService. Note: this implementation does not allow null values for varInt or varFloat.
author
Glyn Normington
author
Sam Ruby

Fields Summary
private float
varFloat
private int
varInt
private String
varString
Constructors Summary
public SOAPStruct()
null constructor

public SOAPStruct(float f, int i, String s)
convenience constructor that sets all of the fields

        this.varFloat = f;
        this.varInt = i;
        this.varString = s;
    
Methods Summary
public booleanequals(java.lang.Object object)
Equality comparison.

        if (!(object instanceof SOAPStruct)) return false;

        SOAPStruct that = (SOAPStruct)object;

        if (this.varInt != that.varInt) return false;

        if (this.varFloat != that.varFloat) return false;

        if (this.varString == null) {
            if (that.varString != null) return false;
        } else {
            if (!this.varString.equals(that.varString)) return false;
        }

        return true;
    
public floatgetVarFloat()
bean getter for VarFloat

        return varFloat;
    
public intgetVarInt()
bean getter for VarInt

        return varInt;
    
public java.lang.StringgetVarString()
bean getter for VarString

        return varString;
    
public voidsetVarFloat(float varFloat)
bean setter for VarFloat

        this.varFloat=varFloat;
    
public voidsetVarInt(int varInt)
bean setter for VarInt

        this.varInt = varInt;
    
public voidsetVarString(java.lang.String varString)
bean setter for VarString

        this.varString = varString;
    
public java.lang.StringtoString()
Printable representation

        return "{" + varInt + ", \"" + varString + "\", " + varFloat + "}";