public Detail addDetail() throws SOAPException;
In the code above , I want to change an object , so I call a method on him , that returns a reference to one of its members.
Then after that I will use this refference to actually change something.
Is this a design
pattern ? What is its purpose , as it seems that I can no longer do any checks/validation on the original object when I actually its Detail part.