当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Any (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class Any
java.lang.Object
net.sf.hibernate.mapping.SimpleValue
net.sf.hibernate.mapping.Any
- All Implemented Interfaces:
- Value
- public class Any
- extends SimpleValue
A Hibernate "any" type (ie. polymorphic association to
one-of-several tables).
- Author:
- Gavin King
Methods inherited from class net.sf.hibernate.mapping.SimpleValue |
addColumn, createForeignKey, createForeignKeyOfClass, createIdentifierGenerator, getColumnIterator, getColumnSpan, getConstraintColumns, getForeignKeyName, getFormula, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getNullValue, getOuterJoinFetchSetting, getTable, isNullable, isSimpleValue, isUnique, isValid, setForeignKeyName, setFormula, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setUnique |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Any
public Any(Table table)
getIdentifierType
public Type getIdentifierType()
- Returns the identifier type.
setIdentifierType
public void setIdentifierType(Type identifierType)
- Sets the identifier type.
getType
public Type getType()
- Specified by:
getType
in interface Value
- Overrides:
getType
in class SimpleValue
setType
public void setType(Type type)
- Overrides:
setType
in class SimpleValue
setTypeByReflection
public void setTypeByReflection(Class propertyClass,
String propertyName)
- Overrides:
setTypeByReflection
in class SimpleValue
getMetaType
public Type getMetaType()
setMetaType
public void setMetaType(Type type)