org.hibernate.mapping.Value |
Known Indirect Subclasses
Any,
Array,
Bag,
Collection,
Component,
DependantValue,
IdentifierBag,
IdentifierCollection,
IndexedCollection,
KeyValue,
List,
ManyToOne,
Map,
OneToMany,
OneToOne,
PrimitiveArray,
Set,
SimpleValue,
ToOne
Any |
A Hibernate "any" type (ie. |
Array |
An array mapping has a primary key consisting of the key columns + index column. |
Bag |
A bag permits duplicates, so it has no primary key |
Collection |
Mapping for a collection. |
Component |
The mapping for a component, composite element,
composite identifier, etc. |
DependantValue |
A value which is "typed" by reference to some other
value (for example, a foreign key is typed by the
referenced primary key). |
IdentifierBag |
An IdentifierBag has a primary key consisting of
just the identifier column
|
IdentifierCollection |
A collection with a synthetic "identifier" column
|
IndexedCollection |
Indexed collections include Lists, Maps, arrays and
primitive arrays. |
KeyValue |
Represents an identifying key of a table: the value for primary key
of an entity, or a foreign key of a collection or join table or
joined subclass table. |
List |
A list mapping has a primary key consisting of the key columns + index column. |
ManyToOne |
A many-to-one association mapping |
Map |
A map has a primary key consisting of
the key columns + index columns. |
OneToMany |
A mapping for a one-to-many association |
OneToOne |
A one-to-one association mapping |
PrimitiveArray |
A primitive array has a primary key consisting of the key columns + index column. |
Set |
A set with no nullable element columns. |
SimpleValue |
Any value that maps to columns. |
ToOne |
A simple-point association (ie. |
|
Class Overview
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.
Public Methods
public
abstract
void
createForeignKey
()
public
abstract
boolean[]
getColumnInsertability
()
public
abstract
Iterator
getColumnIterator
()
public
abstract
int
getColumnSpan
()
public
abstract
boolean[]
getColumnUpdateability
()
public
abstract
Table
getTable
()
public
abstract
Type
getType
()
public
abstract
boolean
hasFormula
()
public
abstract
boolean
isAlternateUniqueKey
()
public
abstract
boolean
isNullable
()
public
abstract
boolean
isSimpleValue
()
public
abstract
boolean
isValid
(Mapping mapping)
public
abstract
void
setTypeUsingReflection
(String className, String propertyName)