Package org.hibernate.mapping
Class Any
java.lang.Object
org.hibernate.mapping.SimpleValue
org.hibernate.mapping.Any
- All Implemented Interfaces:
Serializable,KeyValue,Value
A Hibernate "any" type (ie. polymorphic association to
one-of-several tables).
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.mapping.SimpleValue
DEFAULT_ID_GEN_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(ValueVisitor visitor) getType()voidsetIdentifierType(String identifierType) voidsetMetaType(String type) voidsetMetaValues(Map metaValues) voidsetTypeByReflection(String propertyClass, String propertyName) voidsetTypeUsingReflection(String className, String propertyName) Methods inherited from class org.hibernate.mapping.SimpleValue
addColumn, addFormula, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMappings, getNullValue, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isNullable, isSimpleValue, isTypeSpecified, isUpdateable, isValid, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setTypeName, setTypeParameters, toString
-
Constructor Details
-
Any
-
-
Method Details
-
getIdentifierType
-
setIdentifierType
-
getType
- Specified by:
getTypein interfaceValue- Overrides:
getTypein classSimpleValue- Throws:
MappingException
-
setTypeByReflection
-
getMetaType
-
setMetaType
-
getMetaValues
-
setMetaValues
-
setTypeUsingReflection
- Specified by:
setTypeUsingReflectionin interfaceValue- Overrides:
setTypeUsingReflectionin classSimpleValue- Throws:
MappingException
-
accept
- Specified by:
acceptin interfaceValue- Overrides:
acceptin classSimpleValue
-