title: Binding only some properties onto a grails domain object?
body: <p>I have a map like this:</p>
  
  <p><code>['var1':'property1',
   'var2':'3']</code></p>
  
  <p>and a class like this:</p>
  
  <pre><code>class MyClass{
     MyEnum var1
     int var2
     String var3
  }
  enum MyEnum{
     PROP1( "property1" )
     PROP2( "property2" );
  
     private final String variable;
  
     public MyEnum( String variable ){ this.variable = variable }
     public String getVariable(){ return variable }
  }
  </code></pre>
  
  <p>I'd like to just try to bind <code>var1</code> and <code>var2</code> onto some existing object to get the validations, but how do I do this?</p>