12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package com.jtgh.yjpt.common;
- import javax.persistence.criteria.JoinType;
- /**
- * Predicate模型对象表连接
- *
- * @author 袁晓冬
- *
- */
- public class PredicateJoin {
- private String field = null;
- private Class<?> clazz = null;
- private JoinType type = null;
- public PredicateJoin() {
- }
- public PredicateJoin(String field, Class<?> clazz, JoinType type) {
- super();
- this.field = field;
- this.clazz = clazz;
- this.type = type;
- }
- /**
- * 对象类型
- *
- * @return
- */
- public Class<?> getClazz() {
- return clazz;
- }
- /**
- * join字段名称
- *
- * @return
- */
- public String getField() {
- return field;
- }
- /**
- * join类型
- *
- * @return
- */
- public JoinType getType() {
- return type;
- }
- public void setClazz(Class<?> clazz) {
- this.clazz = clazz;
- }
- public void setField(String field) {
- this.field = field;
- }
- public void setType(JoinType type) {
- this.type = type;
- }
- }
|