Top Description Fields Constructors Methods
org.hibernate.mapping

public Class DependantValue

extends SimpleValue
implements Resolvable, SortableValue
Class Inheritance
All Implemented Interfaces
org.hibernate.mapping.SortableValue, org.hibernate.mapping.Resolvable
Imports
org.hibernate.MappingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.type.Type

A mapping model object representing 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 boolean
private final KeyValue
Inherited from org.hibernate.mapping.SimpleValue:
DEFAULT_ID_GEN_STRATEGY

Constructor Summary

AccessConstructor and Description
public
DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)

private

Method Summary

Modifier and TypeMethod and Description
public Object
public DependantValue
public Type
public KeyValue
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public BasicValue.Resolution<?>
public void
setNullable(boolean nullable)

public void
setSorted(boolean sorted)

public void
public void
setUpdateable(boolean updateable)

public int[]
Inherited from org.hibernate.mapping.SimpleValue:
addColumnaddColumnaddFormulacopyTypeFromcreateForeignKeycreateForeignKeycreateForeignKeyOfEntitycreateGeneratorcreateParameterImplcreateUniqueKeydisableForeignKeygetAttributeConverterDescriptorgetBuildingContextgetColumngetColumnInsertabilitygetColumnsgetColumnSpangetColumnUpdateabilitygetConstraintColumnIteratorgetCustomIdGeneratorCreatorgetFetchModegetForeignKeyDefinitiongetForeignKeyNamegetIdentifierGeneratorgetIdentifierGeneratorParametersgetIdentifierGeneratorPropertiesgetIdentifierGeneratorStrategygetJpaAttributeConverterDescriptorgetMetadatagetNullValuegetOnDeleteActiongetSelectablesgetServiceRegistrygetTablegetTypeConfigurationgetTypeNamegetTypeParametershasAnyInsertableColumnshasAnyUpdatableColumnshasFormulaisAlternateUniqueKeyisCascadeDeleteEnabledisColumnInsertableisColumnUpdateableisConstrainedisForeignKeyEnabledisIdentityColumnisLobisNationalizedisPartitionKeyisSameisSameisSimpleValueisTypeSpecifiedisValidisVersionjustAddColumnjustAddColumnjustAddFormulamakeLobmakeNationalizedmakeParameterImplmakeVersionsetAlternateUniqueKeysetAttributeConverterDescriptorsetCascadeDeleteEnabledsetCustomIdGeneratorCreatorsetForeignKeyDefinitionsetForeignKeyNamesetIdentifierGeneratorParameterssetIdentifierGeneratorPropertiessetIdentifierGeneratorPropertiessetIdentifierGeneratorStrategysetJpaAttributeConverterDescriptorsetNullValuesetOnDeleteActionsetPartitionKeysetTablesetTypeNamesetTypeParameterssetTypeParameterssortColumnstoString

Field Detail

nullableback to summary
private boolean nullable
sortedback to summary
private boolean sorted
updateableback to summary
private boolean updateable
wrappedValueback to summary
private final KeyValue wrappedValue

Constructor Detail

DependantValueback to summary
public DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)
DependantValueback to summary
private DependantValue(DependantValue original)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Overrides org.hibernate.mapping.SimpleValue.accept.

Implements org.hibernate.mapping.Value.accept.

Annotations
@Override
copyback to summary
public DependantValue copy()

Implements org.hibernate.mapping.Value.copy.

Annotations
@Override
getTypeback to summary
public Type getType() throws MappingException

Implements org.hibernate.mapping.Value.getType.

getWrappedValueback to summary
public KeyValue getWrappedValue()
isNullableback to summary
public boolean isNullable()

Overrides org.hibernate.mapping.SimpleValue.isNullable.

Implements org.hibernate.mapping.Value.isNullable.

Annotations
@Override
isSameback to summary
public boolean isSame(SimpleValue other)

Overrides org.hibernate.mapping.SimpleValue.isSame.

Annotations
@Override
isSameback to summary
public boolean isSame(DependantValue other)
isSortedback to summary
public boolean isSorted()

Implements org.hibernate.mapping.SortableValue.isSorted.

Annotations
@Override
isUpdateableback to summary
public boolean isUpdateable()

Overrides org.hibernate.mapping.SimpleValue.isUpdateable.

Implements org.hibernate.mapping.KeyValue.isUpdateable.

Annotations
@Override
resolveback to summary
public boolean resolve(MetadataBuildingContext buildingContext)

Implements org.hibernate.mapping.Resolvable.resolve.

Annotations
@Override
resolveback to summary
public BasicValue.Resolution<?> resolve()

Implements org.hibernate.mapping.Resolvable.resolve.

Annotations
@Override
setNullableback to summary
public void setNullable(boolean nullable)
setSortedback to summary
public void setSorted(boolean sorted)
setTypeUsingReflectionback to summary
public void setTypeUsingReflection(String className, String propertyName)

Overrides org.hibernate.mapping.SimpleValue.setTypeUsingReflection.

Implements org.hibernate.mapping.Value.setTypeUsingReflection.

Annotations
@Override
setUpdateableback to summary
public void setUpdateable(boolean updateable)
sortPropertiesback to summary
public int[] sortProperties()

Implements org.hibernate.mapping.SortableValue.sortProperties.

Annotations
@Override