public class MySQLMergerFactory extends MergerFactory
Constructor and Description |
---|
MySQLMergerFactory() |
Modifier and Type | Method and Description |
---|---|
MergerToken |
createDropRelationshipToDb(DbEntity entity,
DbRelationship rel) |
MergerToken |
createSetAllowNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
createSetColumnTypeToDb(DbEntity entity,
DbAttribute columnOriginal,
DbAttribute columnNew) |
MergerToken |
createSetNotNullToDb(DbEntity entity,
DbAttribute column) |
MergerToken |
createSetPrimaryKeyToDb(DbEntity entity,
Collection<DbAttribute> primaryKeyOriginal,
Collection<DbAttribute> primaryKeyNew,
String detectedPrimaryKeyName) |
createAddColumnToDb, createAddColumnToModel, createAddRelationshipToDb, createAddRelationshipToModel, createCreateTableToDb, createCreateTableToModel, createDropColumnToDb, createDropColumnToModel, createDropRelationshipToModel, createDropTableToDb, createDropTableToModel, createSetAllowNullToModel, createSetColumnTypeToModel, createSetNotNullToModel, createSetPrimaryKeyToModel, createSetValueForNullToDb
public MergerToken createSetNotNullToDb(DbEntity entity, DbAttribute column)
createSetNotNullToDb
in class MergerFactory
public MergerToken createSetAllowNullToDb(DbEntity entity, DbAttribute column)
createSetAllowNullToDb
in class MergerFactory
public MergerToken createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)
createSetColumnTypeToDb
in class MergerFactory
public MergerToken createDropRelationshipToDb(DbEntity entity, DbRelationship rel)
createDropRelationshipToDb
in class MergerFactory
public MergerToken createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)
createSetPrimaryKeyToDb
in class MergerFactory
Copyright © 2001–2014 Apache Cayenne. All rights reserved.