当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
ManyToOne (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class ManyToOne
java.lang.Object
net.sf.hibernate.mapping.SimpleValue
net.sf.hibernate.mapping.ToOne
net.sf.hibernate.mapping.ManyToOne
- All Implemented Interfaces:
- Fetchable, Value
- public class ManyToOne
- extends ToOne
A many-to-one association mapping
- Author:
- Gavin King
Methods inherited from class net.sf.hibernate.mapping.SimpleValue |
addColumn, createForeignKeyOfClass, createIdentifierGenerator, getColumnIterator, getColumnSpan, getConstraintColumns, getForeignKeyName, getFormula, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getNullValue, getTable, getType, isNullable, isSimpleValue, isUnique, isValid, setForeignKeyName, setFormula, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setType, setUnique |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManyToOne
public ManyToOne(Table table)
throws MappingException
setTypeByReflection
public void setTypeByReflection(Class propertyClass,
String propertyName)
throws MappingException
- Specified by:
setTypeByReflection
in class ToOne
- Throws:
MappingException
createForeignKey
public void createForeignKey()
- Specified by:
createForeignKey
in interface Value
- Specified by:
createForeignKey
in class ToOne