@PropertyReactive public static interface Intf1 { public int getC(); public void setC(int c); public int getD(); public void setD(int d); public int getF(); public void setF(int f); public String getId(); }
@PropertyReactive public static class Shuttle { private StopOrHub destination; public StopOrHub getDestination() { return destination; } public Shuttle setDestination(final StopOrHub destination) { this.destination = destination; return this; } }
@PropertyReactive public static class BusStop implements StopOrHub { private boolean visitedByCoach; @Override public boolean isVisitedByCoach() { return visitedByCoach; } public BusStop setVisitedByCoach(final boolean visitedByCoach) { this.visitedByCoach = visitedByCoach; return this; } }
@PropertyReactive public interface StopOrHub { boolean isVisitedByCoach(); }
@PropertyReactive public static interface Intf2 { public int getD(); public void setD(int d); public int getE(); public void setE(int e); public String getId(); }
@PropertyReactive public interface DummyBeanInterface { boolean isActive(); void setActive(boolean active); }
@PropertyReactive public static class MoveCommand { private int move; public int getMove() { return move; } public void setMove(int move) { this.move = move; } @Override public String toString() { return "MoveCommand{" + "move=" + move + '}'; } }
@PropertyReactive public static class Init { }
@PropertyReactive public static class MyClass { private String value; private String data; public String getValue() { return value; } public void setValue(final String value) { this.value = value; } public String getData() { return data; } public void setData(final String data) { this.data = data; } }
@PropertyReactive public static class Cell { private int col; private int row; public boolean hidden; public int getCol() { return col; } public void setCol(int col) { this.col = col; } public int getRow() { return row; } public void setRow(int row) { this.row = row; } }
@PropertyReactive public static class DataSample { private Map<Parameter, Double> values = new EnumMap<>(Parameter.class); public Map<Parameter, Double> getValues() { return values; } public void setValues( Map<Parameter, Double> values ) { this.values = values; } @Modifies({"values", "notEmpty"}) public void addValue( Parameter p, double value ) { this.values.put( p, value ); } public boolean isNotEmpty() { return !this.values.isEmpty(); } }
@PropertyReactive public static class DummyBean extends ParentDummyBean implements DummyBeanInterface { private boolean active; public DummyBean(final String id) { super(id); } public boolean isActive() { return active; } public void setActive(final boolean active) { this.active = active; } @Override public String toString() { return "DummyEvent{" + "id='" + getId() + '\'' + ", active=" + active + '}'; } }
@PropertyReactive public static class C { private boolean on; private String s; public boolean isOn() { return on; } public void setOn(boolean on) { this.on = on; } @Modifies( { "on" } ) public void turnOn() { setOn(true); } public String getS() { return s; } public void setS(String s) { this.s = s; } }
@PropertyReactive public static class Hero { private int pos = 1; private boolean goingRight = true; public Hero( int pos ) { this.pos = pos; } public int getPos() { return pos; } public void setPos( int pos ) { this.pos = pos; } public boolean isGoingRight() { return goingRight; } public void setGoingRight( boolean goingRight ) { this.goingRight = goingRight; } }
@PropertyReactive public static class MyClass { private String name; private int value; public MyClass(String name, int value) { this.name = name; this.value = value; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getValue() { return value; } public void setValue(int value) { this.value = value; } }
@PropertyReactive public static class Klass2 implements Intf2 { private String id = "k2"; private int b; private int c; private int d; private int e; public Klass2( final int b, final int c, final int d, final int e ) { this.b = b; this.c = c; this.d = d; this.e = e; } public int getB() { return b; } public void setB(final int b) { this.b = b; } public int getC() { return c; } public void setC(final int c) { this.c = c; } public int getD() { return d; } public void setD(final int d) { this.d = d; } public int getE() { return e; } public void setE(final int e) { this.e = e; } public String getId() { return id; } }
@PropertyReactive public static class Klass3 { private String name; private String lastName; public Klass3(final String name, final String lastName) { this.name = name; this.lastName = lastName; } public String getName() { return name; } public void setName(final String name) { this.name = name; } public String getLastName() { return lastName; } public void setLastName(final String lastName) { this.lastName = lastName; } public String getFullName(){ return this.name + " "+ this.lastName; } }
@PropertyReactive public static class Order { private String id; private List<OrderItem> items; private boolean discounted; public Order(String id) { this.id = id; } public String getId() { return id; } public void setId(String id) { this.id = id; } public List<OrderItem> getItems() { return items; } public void setItems(List<OrderItem> items) { this.items = items; } public boolean isDiscounted() { return discounted; } public void setDiscounted(boolean discounted) { this.discounted = discounted; } }
@PropertyReactive public static class MySet { private boolean processed;
@PropertyReactive public static class OrderItem { private String orderId;