Class AnnotatedDiscriminatorColumn
- java.lang.Object
-
- org.hibernate.boot.model.internal.AnnotatedColumn
-
- org.hibernate.boot.model.internal.AnnotatedDiscriminatorColumn
-
public class AnnotatedDiscriminatorColumn extends AnnotatedColumn
ADiscriminatorColumn
annotation
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DISCRIMINATOR_COLUMN_NAME
static String
DEFAULT_DISCRIMINATOR_TYPE
-
Fields inherited from class org.hibernate.boot.model.internal.AnnotatedColumn
sqlType
-
-
Constructor Summary
Constructors Constructor Description AnnotatedDiscriminatorColumn(String defaultColumnName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnnotatedDiscriminatorColumn
buildDiscriminatorColumn(DiscriminatorColumn discriminatorColumn, DiscriminatorFormula discriminatorFormula, Column columnOverride, String defaultColumnName, MetadataBuildingContext context)
String
getDiscriminatorTypeName()
void
setDiscriminatorTypeName(String discriminatorTypeName)
-
Methods inherited from class org.hibernate.boot.model.internal.AnnotatedColumn
addCheckConstraint, addColumnBinding, addIndex, bind, buildColumnFromAnnotation, buildColumnFromNoAnnotation, buildColumnOrFormulaFromAnnotation, buildColumnsFromAnnotations, buildColumnsFromAnnotations, buildColumnsOrFormulaFromAnnotation, buildFormulaFromAnnotation, forceNotNull, getArrayLength, getDefaultValue, getExplicitTableName, getGeneratedAs, getLength, getLogicalColumnName, getMappingColumn, getName, getParent, getPrecision, getScale, getSqlType, initMappingColumn, isFormula, isImplicit, isInsertable, isNameDeferred, isNullable, isUnique, isUpdatable, linkWithAggregateValue, linkWithValue, redefineColumnName, setArrayLength, setDefaultValue, setExplicitTableName, setFormula, setImplicit, setInsertable, setLength, setLogicalColumnName, setMappingColumn, setNullable, setParent, setPrecision, setScale, setSqlType, setTemporalPrecision, setUnique, setUpdatable, toString
-
-
-
-
Field Detail
-
DEFAULT_DISCRIMINATOR_COLUMN_NAME
public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
- See Also:
- Constant Field Values
-
DEFAULT_DISCRIMINATOR_TYPE
public static final String DEFAULT_DISCRIMINATOR_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnnotatedDiscriminatorColumn
public AnnotatedDiscriminatorColumn(String defaultColumnName)
-
-
Method Detail
-
getDiscriminatorTypeName
public String getDiscriminatorTypeName()
-
setDiscriminatorTypeName
public void setDiscriminatorTypeName(String discriminatorTypeName)
-
buildDiscriminatorColumn
public static AnnotatedDiscriminatorColumn buildDiscriminatorColumn(DiscriminatorColumn discriminatorColumn, DiscriminatorFormula discriminatorFormula, Column columnOverride, String defaultColumnName, MetadataBuildingContext context)
-
-