-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparations for mono-to-poly mapping
- Loading branch information
1 parent
235520b
commit 1489f39
Showing
7 changed files
with
115 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...evolution-json/src/test/java/gutta/apievolution/json/consumer/ConsumerMonoToPolyType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package gutta.apievolution.json.consumer; | ||
|
||
public class ConsumerMonoToPolyType { | ||
|
||
private Integer field1; | ||
|
||
public Integer getField1() { | ||
return this.field1; | ||
} | ||
|
||
public void setField1(Integer field1) { | ||
this.field1 = field1; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...ution-json/src/test/java/gutta/apievolution/json/provider/ProviderMonoToPolySubTypeA.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package gutta.apievolution.json.provider; | ||
|
||
public class ProviderMonoToPolySubTypeA extends ProviderMonoToPolyType { | ||
|
||
private Integer field2; | ||
|
||
public Integer getField2() { | ||
return this.field2; | ||
} | ||
|
||
public void setField2(Integer field2) { | ||
this.field2 = field2; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...ution-json/src/test/java/gutta/apievolution/json/provider/ProviderMonoToPolySubTypeB.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package gutta.apievolution.json.provider; | ||
|
||
public class ProviderMonoToPolySubTypeB extends ProviderMonoToPolyType { | ||
|
||
private String field3; | ||
|
||
public String getField3() { | ||
return this.field3; | ||
} | ||
|
||
public void setField3(String field3) { | ||
this.field3 = field3; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...evolution-json/src/test/java/gutta/apievolution/json/provider/ProviderMonoToPolyType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package gutta.apievolution.json.provider; | ||
|
||
public class ProviderMonoToPolyType { | ||
|
||
private Integer field1; | ||
|
||
public Integer getField1() { | ||
return this.field1; | ||
} | ||
|
||
public void setField1(Integer field1) { | ||
this.field1 = field1; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters