
io.xream.x7.common.bean.SourceScript Maven / Gradle / Ivy
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.xream.x7.common.bean;
import io.xream.x7.common.util.StringUtil;
import java.util.ArrayList;
import java.util.List;
public class SourceScript implements ConditionCriteriaToSql, ConditionCriteriaToSql.Pre {
private String source;
private JoinType joinType;
private On on;
private String alia;
private List listX = new ArrayList<>();
private transient boolean used;
private transient boolean targeted;
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public JoinType getJoinType() {
return joinType;
}
public void setJoinType(JoinType joinType) {
this.joinType = joinType;
}
public List getListX() {
return listX;
}
public void setListX(List listX) {
this.listX = listX;
}
public On getOn() {
return on;
}
public void setOn(On on) {
this.on = on;
}
public String getAlia() {
return alia;
}
public void setAlia(String alia) {
this.alia = alia;
}
public boolean isUsed() {
return this.used;
}
public void used() {
this.used = true;
}
public boolean isTargeted() {
return targeted;
}
public void targeted() {
this.targeted = true;
}
public String alia() {
return alia == null ? source : alia;
}
public void pre(List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy