What's the term for this? [found, fluent interface]
<p>What's the term for this design?</p>

<pre><code>object.method1().method2().method3()
</code></pre>

<p>..when all methods return *this?</p>

<p>I found the term for this a while ago, but lost it meanwhile.
I have no clue how to search for this on google :)
Also if anyone can think of a better title for the question, feel free to change it.</p>

<p>Thanks</p>

<p><strong>Update-Gishu</strong>: After reading about it, I feel that your question is misleading w.r.t. code snippet provided.. (Feel free to rollback)</p>

<p><em>Method Chaining</em></p>

<pre><code>object.method1().method2().method3()
</code></pre>

<p><em>Fluent Interfaces</em></p>

<pre><code>private void makeFluent(Customer customer) {
        customer.newOrder()
                .with(6, "TAL")
                .with(5, "HPK").skippable()
                .with(3, "LGV")
                .priorityRush();
    }
</code></pre>
