@MongoCollection(collectionName="migrationModel") public class MongoMigrationModelEntity extends Object implements MongoIdentifiableEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
MIGRATION_MODEL_ID |
| Constructor and Description |
|---|
MongoMigrationModelEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemove(MongoStoreInvocationContext invocationContext)
Lifecycle callback, which is called after removal of this object from Mongo.
|
String |
getId() |
String |
getVersion() |
void |
setId(String id) |
void |
setVersion(String version) |
public static final String MIGRATION_MODEL_ID
public String getVersion()
public void setVersion(String version)
public String getId()
getId in interface MongoIdentifiableEntitypublic void setId(String id)
setId in interface MongoIdentifiableEntitypublic void afterRemove(MongoStoreInvocationContext invocationContext)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntityCopyright © 2016 JBoss by Red Hat. All rights reserved.