本文整理汇总了Java中org.easyrec.model.core.transfer.IAConstraintVO.getSourceInfo方法的典型用法代码示例。如果您正苦于以下问题:Java IAConstraintVO.getSourceInfo方法的具体用法?Java IAConstraintVO.getSourceInfo怎么用?Java IAConstraintVO.getSourceInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.easyrec.model.core.transfer.IAConstraintVO
的用法示例。
在下文中一共展示了IAConstraintVO.getSourceInfo方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: convertIAConstraintVO
import org.easyrec.model.core.transfer.IAConstraintVO; //导入方法依赖的package包/类
@Override
public IAConstraintVO<Integer, String> convertIAConstraintVO(Integer tenantId,
IAConstraintVO<Integer, Integer> constraint) {
if (constraint == null) {
return null;
}
return new IAConstraintVO<>(
constraint.getNumberOfResults(), viewTypeDAO.getTypeById(tenantId, constraint.getViewType()),
sourceTypeDAO.getTypeById(tenantId, constraint.getSourceType()), constraint.getSourceInfo(),
constraint.getTenant(), constraint.isActive(), constraint.getSortAsc());
}
示例2: convertTypedIAConstraintVO
import org.easyrec.model.core.transfer.IAConstraintVO; //导入方法依赖的package包/类
@Override
public IAConstraintVO<Integer, Integer> convertTypedIAConstraintVO(Integer tenantId,
IAConstraintVO<Integer, String> typedConstraint) {
if (typedConstraint == null) {
return null;
}
return new IAConstraintVO<>(
typedConstraint.getNumberOfResults(), viewTypeDAO.getIdOfType(tenantId, typedConstraint.getViewType()),
sourceTypeDAO.getIdOfType(tenantId, typedConstraint.getSourceType()), typedConstraint.getSourceInfo(),
typedConstraint.getTenant(), typedConstraint.isActive(), typedConstraint.getSortAsc());
}
示例3: convertIAConstraintVO
import org.easyrec.model.core.transfer.IAConstraintVO; //导入方法依赖的package包/类
@Override
public IAConstraintVO<Integer, String> convertIAConstraintVO(Integer tenantId,
IAConstraintVO<Integer, Integer> constraint) {
if (constraint == null) {
return null;
}
return new IAConstraintVO<Integer, String>(
constraint.getNumberOfResults(), viewTypeDAO.getTypeById(tenantId, constraint.getViewType()),
sourceTypeDAO.getTypeById(tenantId, constraint.getSourceType()), constraint.getSourceInfo(),
constraint.getTenant(), constraint.isActive(), constraint.getSortAsc());
}
示例4: convertTypedIAConstraintVO
import org.easyrec.model.core.transfer.IAConstraintVO; //导入方法依赖的package包/类
@Override
public IAConstraintVO<Integer, Integer> convertTypedIAConstraintVO(Integer tenantId,
IAConstraintVO<Integer, String> typedConstraint) {
if (typedConstraint == null) {
return null;
}
return new IAConstraintVO<Integer, Integer>(
typedConstraint.getNumberOfResults(), viewTypeDAO.getIdOfType(tenantId, typedConstraint.getViewType()),
sourceTypeDAO.getIdOfType(tenantId, typedConstraint.getSourceType()), typedConstraint.getSourceInfo(),
typedConstraint.getTenant(), typedConstraint.isActive(), typedConstraint.getSortAsc());
}