title: Grails / Groovy - Domain Object - Map of its Properties
body: <p>How can I get a map of the key/values of only the user-defined properties on one of my domain objects?</p>
  
  <p>Problem is if I do this myself, I get my properties plus class, metaClass, constraints, closures, etc...</p>
  
  <p>I assume Grails can do this fairly easily because it is done at some level in the scaffold code right? How can I do this myself?</p>