Package org.hibernate.id
Class ExportableColumn.ValueImpl
- java.lang.Object
-
- org.hibernate.id.ExportableColumn.ValueImpl
-
- All Implemented Interfaces:
java.io.Serializable
,Value
- Enclosing class:
- ExportableColumn
public static class ExportableColumn.ValueImpl extends java.lang.Object implements Value
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueImpl(ExportableColumn column, Table table, BasicType type, Database database)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(ValueVisitor visitor)
void
createForeignKey()
boolean[]
getColumnInsertability()
java.util.Iterator<Selectable>
getColumnIterator()
int
getColumnSpan()
boolean[]
getColumnUpdateability()
FetchMode
getFetchMode()
ServiceRegistry
getServiceRegistry()
Table
getTable()
Type
getType()
boolean
hasFormula()
boolean
isAlternateUniqueKey()
boolean
isNullable()
boolean
isSame(Value value)
boolean
isSimpleValue()
boolean
isValid(Mapping mapping)
void
setTypeUsingReflection(java.lang.String className, java.lang.String propertyName)
-
-
-
Constructor Detail
-
ValueImpl
public ValueImpl(ExportableColumn column, Table table, BasicType type, Database database)
-
-
Method Detail
-
getColumnSpan
public int getColumnSpan()
- Specified by:
getColumnSpan
in interfaceValue
-
getColumnIterator
public java.util.Iterator<Selectable> getColumnIterator()
- Specified by:
getColumnIterator
in interfaceValue
-
getType
public Type getType() throws MappingException
- Specified by:
getType
in interfaceValue
- Throws:
MappingException
-
getFetchMode
public FetchMode getFetchMode()
- Specified by:
getFetchMode
in interfaceValue
-
hasFormula
public boolean hasFormula()
- Specified by:
hasFormula
in interfaceValue
-
isAlternateUniqueKey
public boolean isAlternateUniqueKey()
- Specified by:
isAlternateUniqueKey
in interfaceValue
-
isNullable
public boolean isNullable()
- Specified by:
isNullable
in interfaceValue
-
getColumnUpdateability
public boolean[] getColumnUpdateability()
- Specified by:
getColumnUpdateability
in interfaceValue
-
getColumnInsertability
public boolean[] getColumnInsertability()
- Specified by:
getColumnInsertability
in interfaceValue
-
createForeignKey
public void createForeignKey() throws MappingException
- Specified by:
createForeignKey
in interfaceValue
- Throws:
MappingException
-
isSimpleValue
public boolean isSimpleValue()
- Specified by:
isSimpleValue
in interfaceValue
-
isValid
public boolean isValid(Mapping mapping) throws MappingException
- Specified by:
isValid
in interfaceValue
- Throws:
MappingException
-
setTypeUsingReflection
public void setTypeUsingReflection(java.lang.String className, java.lang.String propertyName) throws MappingException
- Specified by:
setTypeUsingReflection
in interfaceValue
- Throws:
MappingException
-
accept
public java.lang.Object accept(ValueVisitor visitor)
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistry
in interfaceValue
-
-