Top Description Fields Constructors Methods
org.hibernate.mapping

public Class DependantValue

extends SimpleValue
Class Inheritance
Imports
org.hibernate.MappingException, org.hibernate.cfg.Mappings, org.hibernate.type.Type

A value which is "typed" by reference to some other value (for example, a foreign key is typed by the referenced primary key).
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private KeyValue
Inherited from org.hibernate.mapping.SimpleValue:
DEFAULT_ID_GEN_STRATEGY

Constructor Summary

AccessConstructor and Description
public
DependantValue(Mappings mappings, Table table, KeyValue prototype)

Method Summary

Modifier and TypeMethod and Description
public Object
public Type
public boolean
public boolean
public void
setNullable(boolean nullable)

public void
public void
setUpdateable(boolean updateable)

Inherited from org.hibernate.mapping.SimpleValue:
addColumnaddFormulacreateForeignKeycreateForeignKeyOfEntitycreateIdentifierGeneratorgetColumnInsertabilitygetColumnIteratorgetColumnSpangetColumnUpdateabilitygetConstraintColumnsgetFetchModegetForeignKeyNamegetIdentifierGeneratorPropertiesgetIdentifierGeneratorStrategygetMappingsgetNullValuegetTablegetTypeNamegetTypeParametershasFormulaisAlternateUniqueKeyisCascadeDeleteEnabledisIdentityColumnisSimpleValueisTypeSpecifiedisValidsetAlternateUniqueKeysetCascadeDeleteEnabledsetForeignKeyNamesetIdentifierGeneratorPropertiessetIdentifierGeneratorStrategysetNullValuesetTablesetTypeNamesetTypeParameterstoString

Field Detail

nullableback to summary
private boolean nullable
updateableback to summary
private boolean updateable
wrappedValueback to summary
private KeyValue wrappedValue

Constructor Detail

DependantValueback to summary
public DependantValue(Mappings mappings, Table table, KeyValue prototype)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Overrides org.hibernate.mapping.SimpleValue.accept.

Implements org.hibernate.mapping.Value.accept.

getTypeback to summary
public Type getType() throws MappingException

Overrides org.hibernate.mapping.SimpleValue.getType.

Implements org.hibernate.mapping.Value.getType.

isNullableback to summary
public boolean isNullable()

Overrides org.hibernate.mapping.SimpleValue.isNullable.

Implements org.hibernate.mapping.Value.isNullable.

isUpdateableback to summary
public boolean isUpdateable()

Overrides org.hibernate.mapping.SimpleValue.isUpdateable.

Implements org.hibernate.mapping.KeyValue.isUpdateable.

setNullableback to summary
public void setNullable(boolean nullable)
setTypeUsingReflectionback to summary
public void setTypeUsingReflection(String className, String propertyName)

Overrides org.hibernate.mapping.SimpleValue.setTypeUsingReflection.

Implements org.hibernate.mapping.Value.setTypeUsingReflection.

setUpdateableback to summary
public void setUpdateable(boolean updateable)