Exemplo n.º 1
0
 public MappingSetInfoBean(MappingSetInfo info) {
   id = info.getIntId();
   source = DataSetInfoBean.asBean(info.getSource());
   predicate = info.getPredicate();
   target = DataSetInfoBean.asBean(info.getTarget());
   justification = info.getJustification();
   mappingResource = info.getMappingResource();
   mappingSource = info.getMappingSource();
   symmetric = info.getSymmetric();
   numberOfLinks = info.getNumberOfLinks();
   numberOfSources = info.getNumberOfSources();
   numberOfTargets = info.getNumberOfTargets();
 }
Exemplo n.º 2
0
 public MappingSetInfo asMappingSetInfo() {
   return new MappingSetInfo(
       getId(),
       DataSetInfoBean.asDataSetInfo(getSource()),
       getPredicate(),
       DataSetInfoBean.asDataSetInfo(getTarget()),
       getJustification(),
       getMappingResource(),
       getMappingSource(),
       getSymmetric(),
       getNumberOfLinks(),
       getNumberOfSources(),
       getNumberOfTargets());
 }