entityfieldmodelinfo.java

来自「《j2ee开发全程实录》随书源码」· Java 代码 · 共 98 行

JAVA
98
字号
package com.cownew.PIS.framework.common.metaDataMgr;

import java.io.Serializable;

public class EntityFieldModelInfo implements Serializable
{

	private String name;
	private String alias;
	private String dbFieldName;
	private DataTypeEnum dataType;
	private boolean isLinkProperty;
	private LinkTypeEnum linkType;
	private String linkEntity;
	private int length;
	private boolean isAllowNull;	
	
	public EntityFieldModelInfo()
	{
		super();
		isLinkProperty = false;
		isAllowNull = true;
	}
	public String getAlias()
	{
		return alias;
	}
	public void setAlias(String alias)
	{
		this.alias = alias;
	}
	public String getDbFieldName()
	{
		return dbFieldName;
	}
	public void setDbFieldName(String dbFieldName)
	{
		this.dbFieldName = dbFieldName;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public DataTypeEnum getDataType()
	{
		return dataType;
	}
	public void setDataType(DataTypeEnum dataType)
	{
		this.dataType = dataType;
	}
	public boolean isLinkProperty()
	{
		return isLinkProperty;
	}
	public void setLinkProperty(boolean isLinkProperty)
	{
		this.isLinkProperty = isLinkProperty;
	}
	public String getLinkEntity()
	{
		return linkEntity;
	}
	public void setLinkEntity(String linkEntity)
	{
		this.linkEntity = linkEntity;
	}
	public LinkTypeEnum getLinkType()
	{
		return linkType;
	}
	public void setLinkType(LinkTypeEnum linkType)
	{
		this.linkType = linkType;
	}
	public int getLength()
	{
		return length;
	}
	public void setLength(int length)
	{
		this.length = length;
	}
	public boolean isAllowNull()
	{
		return isAllowNull;
	}
	public void setAllowNull(boolean isAllowNull)
	{
		this.isAllowNull = isAllowNull;
	}	
	
}

⌨️ 快捷键说明

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