类 DependantValue
- java.lang.Object
-
- org.hibernate.mapping.SimpleValue
-
- org.hibernate.mapping.DependantValue
-
- 所有已实现的接口:
Serializable,KeyValue,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).- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.mapping.SimpleValue
DEFAULT_ID_GEN_STRATEGY
-
-
构造器概要
构造器 构造器 说明 DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)DependantValue(MetadataImplementor metadata, Table table, KeyValue prototype)已过时。
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectaccept(ValueVisitor visitor)TypegetType()booleanisNullable()booleanisSame(DependantValue other)booleanisSame(SimpleValue other)booleanisUpdateable()voidsetNullable(boolean nullable)voidsetTypeUsingReflection(String className, String propertyName)voidsetUpdateable(boolean updateable)-
从类继承的方法 org.hibernate.mapping.SimpleValue
addColumn, addColumn, addFormula, copyTypeFrom, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyDefinition, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMetadata, getNullValue, getServiceRegistry, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isLob, isNationalized, isSame, isSame, isSimpleValue, isTypeSpecified, isValid, isVersion, makeLob, makeNationalized, makeVersion, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyDefinition, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setJpaAttributeConverterDescriptor, setNullValue, setTable, setTypeName, setTypeParameters, toString
-
-
-
-
构造器详细资料
-
DependantValue
@Deprecated public DependantValue(MetadataImplementor metadata, Table table, KeyValue prototype)
已过时。
-
DependantValue
public DependantValue(MetadataBuildingContext buildingContext, Table table, KeyValue prototype)
-
-
方法详细资料
-
getType
public Type getType() throws MappingException
- 指定者:
getType在接口中Value- 覆盖:
getType在类中SimpleValue- 抛出:
MappingException
-
setTypeUsingReflection
public void setTypeUsingReflection(String className, String propertyName)
- 指定者:
setTypeUsingReflection在接口中Value- 覆盖:
setTypeUsingReflection在类中SimpleValue
-
accept
public Object accept(ValueVisitor visitor)
- 指定者:
accept在接口中Value- 覆盖:
accept在类中SimpleValue
-
isNullable
public boolean isNullable()
- 指定者:
isNullable在接口中Value- 覆盖:
isNullable在类中SimpleValue
-
setNullable
public void setNullable(boolean nullable)
-
isUpdateable
public boolean isUpdateable()
- 指定者:
isUpdateable在接口中KeyValue- 覆盖:
isUpdateable在类中SimpleValue
-
setUpdateable
public void setUpdateable(boolean updateable)
-
isSame
public boolean isSame(SimpleValue other)
- 覆盖:
isSame在类中SimpleValue
-
isSame
public boolean isSame(DependantValue other)
-
-