Package | Description |
---|---|
org.medimob.orm.processor | |
org.medimob.orm.processor.dll |
Modifier and Type | Method and Description |
---|---|
protected void |
EntityProcessor.processChecksConstraints(TypeDefinitionBuilder tableBuilder,
Check[] checks) |
protected void |
EntityProcessor.processIndexes(TypeDefinitionBuilder tableBuilder,
String tableName,
Index[] indexes) |
protected void |
EntityProcessor.processTable(TypeDefinitionBuilder tableBuilder,
String tableName,
Table table) |
protected void |
EntityProcessor.processTriggers(TypeDefinitionBuilder tableBuilder,
String tableName,
Trigger[] triggers) |
protected void |
EntityProcessor.processUniqueConstraints(TypeDefinitionBuilder tableBuilder,
Unique[] uniques) |
Modifier and Type | Method and Description |
---|---|
TypeDefinitionBuilder |
TypeDefinitionBuilder.addColumn(PropertyDefinition column)
Add a new column to type.
|
TypeDefinitionBuilder |
TypeDefinitionBuilder.addConstraint(ConstraintDefinition constraintDefinition)
Add a new constraint to type.
|
PropertyDefinitionBuilder |
PropertyDefinitionBuilder.addConstraints(ConstraintDefinition constraintDefinition)
add a new constraint to property.
|
TypeDefinitionBuilder |
TypeDefinitionBuilder.addIndex(IndexDefinition index)
add a new index to type.
|
static <E> void |
DefinitionUtils.addOrThrowIfExist(Set<E> set,
E element,
String message)
Add or throw a new Mapping exception if the element already exist in collection.
|
TypeDefinitionBuilder |
TypeDefinitionBuilder.addTrigger(TriggerDefinition trigger)
add a new trigger to type.
|
TypeDefinition |
TypeDefinitionBuilder.build()
Build new type definition
|
TriggerDefinition |
TriggerDefinitionBuilder.build() |
PropertyDefinition |
PropertyDefinitionBuilder.build()
Build property definition.
|
IndexDefinition |
IndexDefinitionBuilder.build() |
ConstraintDefinition |
ConstraintDefinitionBuilder.build() |
static void |
DefinitionUtils.notEmpty(Collection<?> property,
String message)
Checks if parameter collection property is not null or empty otherwise throw a new Mapping
exception.
|
static void |
DefinitionUtils.notEmpty(String property,
String message)
Checks if parameter string property is not null or empty otherwise throw a new Mapping
exception.
|
static void |
DefinitionUtils.notNull(Object property,
String message)
Checks if parameter property is not null or throw a new Mapping exception.
|
Copyright © 2015. All Rights Reserved.