&& (x.getVarString().equals(y.getVarString()))
&& (equalsNilable(x.getVarAttrString(), y.getVarAttrString()));
}
public void testSimpleStruct() throws Exception {
SimpleStruct x = new SimpleStruct();
x.setVarFloat(3.14f);
x.setVarInt(new BigInteger("42"));
x.setVarString("Hello There");
SimpleStruct yOrig = new SimpleStruct();
yOrig.setVarFloat(1.414f);
yOrig.setVarInt(new BigInteger("13"));
yOrig.setVarString("Cheerio");
Holder<SimpleStruct> y = new Holder<SimpleStruct>(yOrig);
Holder<SimpleStruct> z = new Holder<SimpleStruct>();
SimpleStruct ret;
if (testDocLiteral) {
ret = docClient.testSimpleStruct(x, y, z);
} else {
ret = rpcClient.testSimpleStruct(x, y, z);
}