当前页面: 
在线文档首页 > 
Hibernate 3.2.3 正式版 API 英文文档
DependantValue (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.mapping
Class DependantValue
java.lang.Object
   org.hibernate.mapping.SimpleValue
org.hibernate.mapping.SimpleValue
       org.hibernate.mapping.DependantValue
org.hibernate.mapping.DependantValue
- All Implemented Interfaces: 
- KeyValue, Serializable, Value
- 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
- See Also:
- Serialized Form
 
 
| Methods inherited from class org.hibernate.mapping.SimpleValue | 
| addColumn, addFormula, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getNullValue, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isSimpleValue, isTypeSpecified, isValid, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setTypeName, setTypeParameters, toString | 
 
 
DependantValue
public DependantValue(Table table,
                      KeyValue prototype)
getType
public Type getType()
             throws MappingException
- 
- Specified by:
- getTypein interface- Value
- Overrides:
- getTypein class- SimpleValue
 
- 
- Throws:
- MappingException
 
setTypeUsingReflection
public void setTypeUsingReflection(String className,
                                   String propertyName)
- 
- Specified by:
- setTypeUsingReflectionin interface- Value
- Overrides:
- setTypeUsingReflectionin class- SimpleValue
 
- 
 
accept
public Object accept(ValueVisitor visitor)
- 
- Specified by:
- acceptin interface- Value
- Overrides:
- acceptin class- SimpleValue
 
- 
 
isNullable
public boolean isNullable()
- 
- Specified by:
- isNullablein interface- Value
- Overrides:
- isNullablein class- SimpleValue
 
- 
 
setNullable
public void setNullable(boolean nullable)
- 
 
isUpdateable
public boolean isUpdateable()
- 
- Specified by:
- isUpdateablein interface- KeyValue
- Overrides:
- isUpdateablein class- SimpleValue
 
- 
 
setUpdateable
public void setUpdateable(boolean updateable)
-