Created
February 9, 2011 13:12
-
-
Save edpichler/818446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public CompositeObject[] getObjetos(){ | |
CompositeObject[] obj = new CompositeObject[10]; | |
for (int i = 0; i < 10; i++) { | |
obj[i] = new CompositeObject(); | |
} | |
return obj; | |
} | |
public class CompositeObject{ | |
public Double getDouble(){ | |
return Double.valueOf(System.currentTimeMillis()); | |
} | |
public String getString(){ | |
return "foo"; | |
} | |
public void setString(){ | |
// | |
} | |
public CompositeObject getObjeto(){ | |
return new CompositeObject(); | |
} | |
public CompositeObject[] getObjetos(){ | |
return new CompositeObject[]{new CompositeObject(), new CompositeObject()}; | |
} | |
private OtherComplexType comp = new OtherComplexType(); | |
public OtherComplexType getOtherPart(){ | |
return comp; | |
} | |
} | |
public class OtherComplexType{ | |
public int getValue(){ | |
return 10; | |
} | |
public String getString(){ | |
return "foo"; | |
} | |
public void setString(){ | |
// | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment