public class DependantValue extends SimpleValue
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
DependantValue(MetadataImplementor metadata,
Table table,
KeyValue prototype) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(ValueVisitor visitor) |
Type |
getType() |
boolean |
isNullable() |
boolean |
isSame(DependantValue other) |
boolean |
isSame(SimpleValue other) |
boolean |
isUpdateable() |
void |
setNullable(boolean nullable) |
void |
setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
setUpdateable(boolean updateable) |
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
public DependantValue(MetadataImplementor metadata, Table table, KeyValue prototype)
public Type getType() throws MappingException
getType
in interface Value
getType
in class SimpleValue
MappingException
public void setTypeUsingReflection(java.lang.String className, java.lang.String propertyName)
setTypeUsingReflection
in interface Value
setTypeUsingReflection
in class SimpleValue
public java.lang.Object accept(ValueVisitor visitor)
accept
in interface Value
accept
in class SimpleValue
public boolean isNullable()
isNullable
in interface Value
isNullable
in class SimpleValue
public void setNullable(boolean nullable)
public boolean isUpdateable()
isUpdateable
in interface KeyValue
isUpdateable
in class SimpleValue
public void setUpdateable(boolean updateable)
public boolean isSame(SimpleValue other)
isSame
in class SimpleValue
public boolean isSame(DependantValue other)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.