Package org.hibernate.mapping
Class DependantValue
java.lang.Object
org.hibernate.mapping.SimpleValue
org.hibernate.mapping.DependantValue
- All Implemented Interfaces:
Serializable,KeyValue,Value
A value which is "typed" by reference to some other
value (for example, a foreign key is typed by the
referenced primary key).
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.mapping.SimpleValue
DEFAULT_ID_GEN_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(ValueVisitor visitor) getType()booleanbooleanvoidsetNullable(boolean nullable) voidsetTypeUsingReflection(String className, String propertyName) voidsetUpdateable(boolean updateable) Methods inherited from class org.hibernate.mapping.SimpleValue
addColumn, addFormula, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMappings, getNullValue, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isSimpleValue, isTypeSpecified, isValid, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setTypeName, setTypeParameters, toString
-
Constructor Details
-
DependantValue
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceValue- Overrides:
getTypein classSimpleValue- Throws:
MappingException
-
setTypeUsingReflection
- Specified by:
setTypeUsingReflectionin interfaceValue- Overrides:
setTypeUsingReflectionin classSimpleValue
-
accept
- Specified by:
acceptin interfaceValue- Overrides:
acceptin classSimpleValue
-
isNullable
public boolean isNullable()- Specified by:
isNullablein interfaceValue- Overrides:
isNullablein classSimpleValue
-
setNullable
public void setNullable(boolean nullable) -
isUpdateable
public boolean isUpdateable()- Specified by:
isUpdateablein interfaceKeyValue- Overrides:
isUpdateablein classSimpleValue
-
setUpdateable
public void setUpdateable(boolean updateable)
-