@Entity
public class ModelUpdate
extends com.whitestein.lsps.common.VersionedAbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
FIND_BY_MIGRATION_ID
Named query.
|
static String |
FIND_BY_MODEL_INSTANCE_ID
Named query.
|
static String |
FIND_CURRENT_BY_MIGRATION_ID
Named query.
|
Modifier | Constructor and Description |
---|---|
protected |
ModelUpdate()
Creates new instance.
|
|
ModelUpdate(long modelInstanceId,
Date started,
Migration migration)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
appendLog(String log)
Sets the migration log.
|
Date |
getFinished()
Returns the finished date.
|
String |
getLog()
Returns the migration log.
|
Migration |
getMigration()
Returns the migration.
|
long |
getModelInstanceId()
Returns the model instance id.
|
Date |
getStarted()
Returns the migration date.
|
ModelInstanceState |
getState()
Returns the state of the migration.
|
void |
setFinished(Date finished)
Sets finish date.
|
void |
setState(ModelInstanceState state)
Sets the migration state.
|
public static final String FIND_BY_MODEL_INSTANCE_ID
public static final String FIND_BY_MIGRATION_ID
public static final String FIND_CURRENT_BY_MIGRATION_ID
public long getModelInstanceId()
public String getLog()
public void appendLog(String log)
log
- public Date getStarted()
public Date getFinished()
public Migration getMigration()
public ModelInstanceState getState()
public void setFinished(Date finished)
finished
- public void setState(ModelInstanceState state)
state
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.