0
Orika를 사용하여 속성을 여러 개 매핑해야하며 적절한 예제를 찾기 위해 고심하고 있습니다.Orika, 하나의 속성을 여러 속성에 매핑
주어진 다음의 클래스 :
public class A {
String propertyA1
String propertyB1
}
public class B {
C cInstance;
D dInstance;
String propertyB2;
}
public class C {
String propertyA2Part;
}
public class D {
String propertyA3Part;
}
는 기본적으로 I 클래스 B에 매핑 클래스 A 해요,하지만 난 propertyA1을 구문 분석하고 C.propertyA2Part 및 D.propertyA3Part에 가치를 보낼 필요가 길을 따라. 나는 변환기/매퍼/필터 사이에 이것을위한 최고의 시설을 결정하려고 노력하고있다.