Package org.hibernate.id
Class ExportableColumn.ValueImpl
- java.lang.Object
-
- org.hibernate.id.ExportableColumn.ValueImpl
-
- All Implemented Interfaces:
Serializable,Value
- Enclosing class:
- ExportableColumn
public static class ExportableColumn.ValueImpl extends 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 Objectaccept(ValueVisitor visitor)voidcreateForeignKey()boolean[]getColumnInsertability()Iterator<Selectable>getColumnIterator()intgetColumnSpan()boolean[]getColumnUpdateability()FetchModegetFetchMode()ServiceRegistrygetServiceRegistry()TablegetTable()TypegetType()booleanhasFormula()booleanisAlternateUniqueKey()booleanisNullable()booleanisSame(Value value)booleanisSimpleValue()booleanisValid(Mapping mapping)voidsetTypeUsingReflection(String className, String propertyName)
-
-
-
Constructor Detail
-
ValueImpl
public ValueImpl(ExportableColumn column, Table table, BasicType type, Database database)
-
-
Method Detail
-
getColumnSpan
public int getColumnSpan()
- Specified by:
getColumnSpanin interfaceValue
-
getColumnIterator
public Iterator<Selectable> getColumnIterator()
- Specified by:
getColumnIteratorin interfaceValue
-
getType
public Type getType() throws MappingException
- Specified by:
getTypein interfaceValue- Throws:
MappingException
-
getFetchMode
public FetchMode getFetchMode()
- Specified by:
getFetchModein interfaceValue
-
hasFormula
public boolean hasFormula()
- Specified by:
hasFormulain interfaceValue
-
isAlternateUniqueKey
public boolean isAlternateUniqueKey()
- Specified by:
isAlternateUniqueKeyin interfaceValue
-
isNullable
public boolean isNullable()
- Specified by:
isNullablein interfaceValue
-
getColumnUpdateability
public boolean[] getColumnUpdateability()
- Specified by:
getColumnUpdateabilityin interfaceValue
-
getColumnInsertability
public boolean[] getColumnInsertability()
- Specified by:
getColumnInsertabilityin interfaceValue
-
createForeignKey
public void createForeignKey() throws MappingException- Specified by:
createForeignKeyin interfaceValue- Throws:
MappingException
-
isSimpleValue
public boolean isSimpleValue()
- Specified by:
isSimpleValuein interfaceValue
-
isValid
public boolean isValid(Mapping mapping) throws MappingException
- Specified by:
isValidin interfaceValue- Throws:
MappingException
-
setTypeUsingReflection
public void setTypeUsingReflection(String className, String propertyName) throws MappingException
- Specified by:
setTypeUsingReflectionin interfaceValue- Throws:
MappingException
-
accept
public Object accept(ValueVisitor visitor)
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistryin interfaceValue
-
-