Known Direct Subclasses
Any |
A Hibernate "any" type (ie. |
Component |
The mapping for a component, composite element,
composite identifier, etc. |
DependantValue |
A value which is "typed" by reference to some other
value (for example, a foreign key is typed by the
referenced primary key). |
ToOne |
A simple-point association (ie. |
|
Known Indirect Subclasses
ManyToOne |
A many-to-one association mapping |
OneToOne |
A one-to-one association mapping |
|
Class Overview
Any value that maps to columns.
Constants
public
static
final
String
DEFAULT_ID_GEN_STRATEGY
Constant Value:
"assigned"
Public Constructors
Public Methods
public
void
addColumn
(Column column)
public
void
addFormula
(Formula formula)
public
void
createForeignKey
()
public
void
createForeignKeyOfEntity
(String entityName)
public
boolean[]
getColumnInsertability
()
public
int
getColumnSpan
()
public
boolean[]
getColumnUpdateability
()
public
List
getConstraintColumns
()
public
String
getForeignKeyName
()
public
Properties
getIdentifierGeneratorProperties
()
public
String
getIdentifierGeneratorStrategy
()
Returns the identifierGeneratorStrategy.
public
boolean
hasFormula
()
public
boolean
isAlternateUniqueKey
()
public
boolean
isCascadeDeleteEnabled
()
public
boolean
isNullable
()
public
boolean
isSimpleValue
()
public
boolean
isTypeSpecified
()
public
boolean
isUpdateable
()
public
boolean
isValid
(Mapping mapping)
public
void
setAlternateUniqueKey
(boolean unique)
public
void
setCascadeDeleteEnabled
(boolean cascadeDeleteEnabled)
public
void
setForeignKeyName
(String foreignKeyName)
public
void
setIdentifierGeneratorProperties
(Properties identifierGeneratorProperties)
Sets the identifierGeneratorProperties.
Parameters
identifierGeneratorProperties
| The identifierGeneratorProperties to set
|
public
void
setIdentifierGeneratorStrategy
(String identifierGeneratorStrategy)
Sets the identifierGeneratorStrategy.
Parameters
identifierGeneratorStrategy
| The identifierGeneratorStrategy to set
|
public
void
setNullValue
(String nullValue)
Parameters
nullValue
| The nullValue to set
|
public
void
setTable
(Table table)
public
void
setTypeName
(String type)
public
void
setTypeParameters
(Properties parameterMap)
public
void
setTypeUsingReflection
(String className, String propertyName)