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

IndexPropBean

public class IndexPropBean extends Object
Bean with an indexed property

Fields Summary
private String[]
name
private static org.apache.axis.description.TypeDesc
typeDesc
Constructors Summary
public IndexPropBean()

Methods Summary
public booleanequals(java.lang.Object obj)

        if (obj == null || !(obj instanceof IndexPropBean))
            return false;
        IndexPropBean other = (IndexPropBean)obj;
        if (other.name == null && this.name == null) 
            return true;
        if (other.name != null &&
            java.util.Arrays.equals(other.name, name)) 
            return true;
        return false;
    
public static org.apache.axis.encoding.DeserializergetDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
Get Custom Deserializer

        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    
public java.lang.StringgetName(int i)

        return name[i];
    
public java.lang.String[]getName()

        return name;
    
public static org.apache.axis.encoding.SerializergetSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
Get Custom Serializer

        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    
public static org.apache.axis.description.TypeDescgetTypeDesc()

        typeDesc = new TypeDesc(IndexPropBean.class);
        FieldDesc field;

        field = new ElementDesc();
        field.setFieldName("name");
        field.setXmlName(new QName("", "name"));
        typeDesc.addFieldDesc(field);
    
        return typeDesc;
    
public inthashCode()

        int _hashCode = 0;
        if (name != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(name);
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(name, i);
                if (obj != null) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        return _hashCode;
    
public voidsetName(int i, java.lang.String name)

        this.name[i] = name;
    
public voidsetName(java.lang.String[] name)

        this.name = name;