value.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 31 行

JAVA
31
字号
//$Id: Value.java,v 1.13.2.9 2003/11/09 01:46:25 oneovthafew Exp $package net.sf.hibernate.mapping;import java.util.Iterator;import net.sf.hibernate.MappingException;import net.sf.hibernate.engine.Mapping;import net.sf.hibernate.type.Type;/** * A value is anything that is persisted by value, instead of * by reference. It is essentially a Hibernate Type, together * with zero or more columns. Values are wrapped by things with  * higher level semantics, for example properties, collections,  * classes. *  * @author Gavin King */public interface Value {	public int getColumnSpan();	public Iterator getColumnIterator();	public Type getType();	public int getOuterJoinFetchSetting();	public Table getTable();	public Formula getFormula();	public boolean isUnique();	public boolean isNullable();	public void createForeignKey();	public boolean isSimpleValue();	public boolean isValid(Mapping mapping) throws MappingException;}

⌨️ 快捷键说明

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