FileDocCategorySizeDatePackage
DependantValue.javaAPI DocHibernate 3.2.51119Sat Feb 12 00:19:50 GMT 2005org.hibernate.mapping

DependantValue

public class DependantValue extends SimpleValue
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

Fields Summary
private KeyValue
wrappedValue
private boolean
nullable
private boolean
updateable
Constructors Summary
public DependantValue(Table table, KeyValue prototype)

		super(table);
		this.wrappedValue = prototype;
	
Methods Summary
public java.lang.Objectaccept(ValueVisitor visitor)

		return visitor.accept(this);
	
public org.hibernate.type.TypegetType()

		return wrappedValue.getType();
	
public booleanisNullable()

		return nullable;
	
	
public booleanisUpdateable()

		return updateable;
	
public voidsetNullable(boolean nullable)

		this.nullable = nullable;
	
public voidsetTypeUsingReflection(java.lang.String className, java.lang.String propertyName)

public voidsetUpdateable(boolean updateable)

		this.updateable = updateable;