Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Let say we have a server that manage a library in which you can add a book, find a book and get all the books. The server code will probably look like this:

BookService.groovy

with the class Book being something like that.

Book.groovy


To ignore the metaClass property a custom type mapping must be defined (for details refer to Aegis Binding).

Book.aegis.xml


However, if you compile custom data types from Java the bytecode won't contain a metaClass property and, hence, there is no need to define a custom mapping.

  • No labels