linkmap.java

来自「一个Java持久层类库」· Java 代码 · 共 73 行

JAVA
73
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package ActiveObject.vo;/** * * @author tanjiazhang */public class LinkMap {    public static final int HasMany = 1;    public static final int HasOne = 1;    private int type;    private Class recordType;    private FieldColumnNode[] linkedField;    public LinkMap()    {}    public LinkMap(Class recordType)    {        this.recordType = recordType;    }    public LinkMap(Class recordType, int type)    {        this.recordType = recordType;        this.type = type;    }    /**     * @return the recordType     */    public Class getRecordType() {        return recordType;    }    /**     * @param recordType the recordType to set     */    public void setRecordType(Class recordType) {        this.recordType = recordType;    }    /**     * @return the linkedField     */    public FieldColumnNode[] getLinkedField() {        return linkedField;    }    /**     * @param linkedField the linkedField to set     */    public void setLinkedField(FieldColumnNode[] linkedField) {        this.linkedField = linkedField;    }    /**     * @return the type     */    public int getType() {        return type;    }    /**     * @param type the type to set     */    public void setType(int type) {        this.type = type;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?