1 package org.pojomatic.moduletest;
2
3 import org.pojomatic.Pojomatic;
4 import org.pojomatic.annotations.AutoProperty;
5
6 @AutoProperty
7 public class Bean {
8 private final String s;
9
10 public Bean(String s) {
11 this.s = s;
12 }
13
14 public String getS() { return s; }
15
16 public static void main(String[] args) {
17 System.out.println(new Bean("Hello, world"));
18 }
19
20 @Override public String toString() { return Pojomatic.toString(this); }
21 @Override public boolean equals(Object other) { return Pojomatic.equals(this, other); }
22 @Override public int hashCode() { return Pojomatic.hashCode(this); }
23
24 }