FileDocCategorySizeDatePackage
Data.javaAPI DocApache Axis 1.41762Sat Apr 22 18:57:28 BST 2006test.RPCDispatch

Data

public class Data extends Object
Test structure used by the RPCDispatch test
author
Sam Ruby

Fields Summary
private int
field1
private String
field2
private int
field3
Constructors Summary
public Data()
null constructor

public Data(int field1, String field2, int field3)
convenience constructor that sets all of the fields

        this.field1=field1;
        this.field2=field2;
        this.field3=field3;
    
Methods Summary
public booleanequals(java.lang.Object object)
Equality comparison.

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

        Data that= (Data) object;

        if (this.field1 != that.field1) return false;
        if (this.field3 != that.field3) return false;

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

        return true;
    
public intgetField1()
bean getter for field1

        return field1;
    
public java.lang.StringgetField2()
bean getter for field2

        return field2;
    
public intgetField3()
bean getter for field3

        return field3;
    
public voidsetField1(int field1)
bean setter for field1

        this.field1=field1;
    
public voidsetField2(java.lang.String field2)
bean setter for field2

        this.field2=field2;
    
public voidsetField3(int field3)
bean setter for field3

        this.field3=field3;