FileDocCategorySizeDatePackage
SimpleBean.javaAPI DocApache Axis 1.42193Sat Apr 22 18:57:28 BST 2006test.encoding

SimpleBean

public class SimpleBean extends Object implements org.apache.axis.encoding.SimpleType
A simple type with attributes for testing

Fields Summary
public String
value
public float
temp
private static org.apache.axis.description.TypeDesc
typeDesc
Constructors Summary
public SimpleBean(String val)
String constructor

        value = val;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (obj == null || !(obj instanceof SimpleBean))
            return false;
        SimpleBean other = (SimpleBean)obj;
        if (other.getTemp() != temp) {
            return false;
        }
        if (value == null) {
            return other.getValue() == null;
        }
        return value.equals(other.getValue());
    
public floatgetTemp()

        return temp;
    
public static org.apache.axis.description.TypeDescgetTypeDesc()

     
        FieldDesc fd = new AttributeDesc();
        fd.setFieldName("temp");
        fd.setXmlName(new QName("foo", "temp"));
        typeDesc.addFieldDesc(fd);
     return typeDesc; 
public java.lang.StringgetValue()

        return value;
    
public voidsetTemp(float temp)

        this.temp = temp;
    
public voidsetValue(java.lang.String value)

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

        return value;