com.fastchar.extjs.core.database.FastExtLinkInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-extjs Show documentation
Show all versions of fastchar-extjs Show documentation
FastChar-ExtJs is a Java Web framework that uses extjs libraries.
package com.fastchar.extjs.core.database;
import com.fastchar.core.FastBaseInfo;
import com.fastchar.database.info.FastColumnInfo;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
public class FastExtLinkInfo extends FastBaseInfo {
private static final long serialVersionUID = -2930962312837008230L;
private String tableName;//被关联的表明
private String keyColumnName;//被关联的key列名
private LinkedHashSet textColumnNames = new LinkedHashSet<>();//被关联的text列名
private Map> textColumnInfo = new HashMap<>();
private FastColumnInfo> keyColumn;
public String getTableName() {
return tableName;
}
public FastExtLinkInfo setTableName(String tableName) {
this.tableName = tableName;
return this;
}
public String getKeyColumnName() {
return keyColumnName;
}
public FastExtLinkInfo setKeyColumnName(String keyColumnName) {
this.keyColumnName = keyColumnName;
return this;
}
public FastColumnInfo> getKeyColumn() {
return keyColumn;
}
public FastExtLinkInfo setKeyColumn(FastColumnInfo> keyColumn) {
this.keyColumn = keyColumn;
return this;
}
public FastExtLinkInfo addTextColumnName(String textColumnName) {
this.textColumnNames.add(textColumnName);
return this;
}
public LinkedHashSet getTextColumnNames() {
return textColumnNames;
}
public FastExtLinkInfo putTextColumnInfo(String textColumnName, FastColumnInfo> columnInfo) {
this.textColumnInfo.put(textColumnName, columnInfo);
return this;
}
public FastColumnInfo> getTextColumnInfo(String textColumnName) {
return this.textColumnInfo.get(textColumnName);
}
}