title: Playframework: Is it possible to pass parameters to a Model's getter in the template?
body: <p>I don't know how to describe it, so the question title may not make much sense.</p>
  
  <p>Say, I have a class named <code>User</code>:</p>
  
  <pre><code>class User {
      public String name;
  
      public String getName(){
          return this.name;
      }
  
      public String getName(long level){
          // Calculate the name with level.
          return name;
      }
  }
  </code></pre>
  
  <p>I know I could use <code>${user.name}</code> in the template to invoke the <code>getName()</code> function, but what if I want to pass a <code>level</code> to invoke <code>getName(long level)</code> in template ?</p>
  
  <p>Is there any alternative looks like <code>${user.name(123)}</code></p>
  
  <p>Is it possible to make it ?</p>