@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 MongoIdentifiableEntity
public void setId(String id)
setId
in interface MongoIdentifiableEntity
public void afterRemove(MongoStoreInvocationContext invocationContext)
MongoIdentifiableEntity
afterRemove
in interface MongoIdentifiableEntity
Copyright © 2016 JBoss by Red Hat. All rights reserved.