Groovy Test

Java code posted by Angela Morkel
created at 31 Mar 13:54, updated at 04 Apr 12:22

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Schniepel {

  // determine order
  static constraints = {
    schniepelName()
    schniepelAdresse()
    wutzNummer()
  }

  // Java doesn't guarentee this order
  String schniepelName
  String schniepelAdresse 
  BigDecimal wutzNummer
}
257 Bytes in 2 ms with coderay