@Setter
@DataRouteByKey("test")
public class TargetClass {
@JsonProperty("test")
private String test;
@JsonProperty("test")
private String intersection;
@JsonProperty("test")
private String deletion;
private String notAnnotatedVariable;
@Transactional("test")
public String getTest() {
return test;
}
public String updateTest(String test) {
this.test = test;
return test;
}
public String otherUpdate(@JsonProperty("otherUpdate") String test) {
this.test = test;
return test;
}
@Transactional("test")
public String intersectionMethod(@JsonProperty("test") String test, String other) {
this.test = test;
return test;
}
@Transactional
@NonNull
public void deletionMethod(@JsonProperty("test") String test) {
// do nothing
}
public void notAnnotated() {
// do nothing
}
}