Top Description Fields Constructors Methods
org.hibernate.mapping

public Class DependantValue

extends SimpleValue
Class Inheritance
Imports
org.hibernate.MappingException, org.hibernate.boot.spi.MetadataBuildingContext, .MetadataImplementor, 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
public
DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)

Deprecated as a consequence of Table being deprecated.

Method Summary

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

public void
public void
setUpdateable(boolean updateable)

Inherited from org.hibernate.mapping.SimpleValue:
addColumnaddColumnaddFormulacopyTypeFromcreateForeignKeycreateForeignKeyOfEntitycreateIdentifierGeneratorcreateIdentifierGeneratorgetColumnInsertabilitygetColumnIteratorgetColumnSpangetColumnUpdateabilitygetConstraintColumnsgetFetchModegetForeignKeyDefinitiongetForeignKeyNamegetIdentifierGeneratorgetIdentifierGeneratorPropertiesgetIdentifierGeneratorStrategygetMetadatagetNullValuegetServiceRegistrygetTablegetTypeNamegetTypeParametershasFormulaisAlternateUniqueKeyisCascadeDeleteEnabledisIdentityColumnisLobisNationalizedisSameisSameisSimpleValueisTypeSpecifiedisValidisVersionmakeLobmakeNationalizedmakeVersionsetAlternateUniqueKeysetCascadeDeleteEnabledsetForeignKeyDefinitionsetForeignKeyNamesetIdentifierGeneratorPropertiessetIdentifierGeneratorPropertiessetIdentifierGeneratorStrategysetJpaAttributeConverterDescriptorsetNullValuesetTablesetTypeNamesetTypeParameterssetTypeParameterstoString

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(MetadataImplementor metadata, Table table, KeyValue prototype)
Annotations
@Deprecated
DependantValueback to summary
public DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

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.

isSameback to summary
public boolean isSame(SimpleValue other)

Overrides org.hibernate.mapping.SimpleValue.isSame.

Annotations
@Override
isSameback to summary
public boolean isSame(DependantValue other)
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)