Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (obj == null || !(obj instanceof AttributeBean))
return false;
AttributeBean other = (AttributeBean)obj;
if (other.getAge() != age)
return false;
if (other.getID() != iD)
return false;
if (other.getMale() != male)
return false;
if (name == null) {
if (other.getName() != null) {
return false;
}
}else if (!name.equals(other.getName())) {
return false;
}
if (company == null) {
if (other.company != null) {
return false;
}
} else if (!company.equals(other.company)) {
return false;
}
if (getParentFloat() != other.getParentFloat())
return false;
if (getParentStr() != null) {
return getParentStr().equals(other.getParentStr());
}
return other.getParentStr() == null;
|
public int | getAge()
return age;
|
public float | getID()
return iD;
|
public boolean | getMale()
return male;
|
public java.lang.String | getName()
return name;
|
public static org.apache.axis.description.TypeDesc | getTypeDesc()
typeDesc = new TypeDesc(AttributeBean.class);
FieldDesc field;
// An attribute with a specified QName
field = new AttributeDesc();
field.setFieldName("name");
field.setXmlName(new QName("foo", "nameAttr"));
typeDesc.addFieldDesc(field);
// An attribute with a default QName
field = new AttributeDesc();
field.setFieldName("male");
typeDesc.addFieldDesc(field);
// An element with a specified QName
field = new ElementDesc();
field.setFieldName("age");
field.setXmlName(new QName("foo", "ageElement"));
typeDesc.addFieldDesc(field);
return typeDesc;
|
public void | setAge(int age)
this.age = age;
|
public void | setID(float iD)
this.iD = iD;
|
public void | setMale(boolean male)
this.male = male;
|
public void | setName(java.lang.String name)
this.name = name;
|