Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 55c9cfe

Browse files
committed
staticメソッドによるデシリアライズのテスト用のクラス
1 parent 77f11f7 commit 55c9cfe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.mapk.krowmapper;
2+
3+
import com.mapk.annotations.KColumnDeserializer;
4+
5+
public class ByStaticMethod {
6+
private final String bazString;
7+
8+
public ByStaticMethod(String bazString) {
9+
this.bazString = bazString;
10+
}
11+
12+
public String getBazString() {
13+
return bazString;
14+
}
15+
16+
@KColumnDeserializer
17+
public static ByStaticMethod factory(Integer bazArg) {
18+
return new ByStaticMethod(bazArg.toString());
19+
}
20+
}

0 commit comments

Comments
 (0)