@Entity
public class Migration
extends com.whitestein.lsps.common.VersionedAbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
FIND_ALL
Returns all migrations ordered by their start date.
|
Modifier | Constructor and Description |
---|---|
protected |
Migration()
Creates new instance.
|
|
Migration(long preprocessingModelId,
long transformModelId,
long postprocessingModelId,
long oldModelId,
String oldModelName,
String oldModelVersion,
String oldModelHash,
long newModelId,
String newModelName,
String newModelVersion,
String newModelHash,
Date startedDate)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getFailedCount()
Returns the failedCount count.
|
Date |
getFinishedDate()
Returns the finishedDate date.
|
String |
getNewModelHash()
Returns the new model hash.
|
long |
getNewModelId()
Returns the new model id.
|
String |
getNewModelName()
Returns the new model name.
|
String |
getNewModelVersion()
Returns the new model version.
|
String |
getOldModelHash()
Returns the old model hash.
|
long |
getOldModelId()
Returns the old model id.
|
String |
getOldModelName()
Returns the old model name.
|
String |
getOldModelVersion()
Returns the old model version.
|
long |
getPostprocessingModelId()
Returns postprocessing model id.
|
long |
getPreprocessingModelId()
Returns preprocessing model id.
|
Date |
getStartedDate()
Returns the startedDate date.
|
long |
getSuccessfulCount()
Returns the successfulCount count.
|
long |
getTransformModelId()
Returns migration model id.
|
void |
setFailedCount(long failedCount)
Sets the failedCount count.
|
void |
setFinishedDate(Date finishedDate)
Sets the finishedDate date.
|
void |
setStartedDate(Date startedDate)
Sets the startedDate date.
|
void |
setSuccessfulCount(long successfulCount)
Sets the successfulCount count.
|
public static final String FIND_ALL
public Migration(long preprocessingModelId, long transformModelId, long postprocessingModelId, long oldModelId, String oldModelName, String oldModelVersion, String oldModelHash, long newModelId, String newModelName, String newModelVersion, String newModelHash, Date startedDate)
preprocessingModelId
- transformModelId
- postprocessingModelId
- oldModelId
- oldModelName
- oldModelVersion
- oldModelHash
- newModelId
- newModelName
- newModelVersion
- newModelHash
- startedDate
- protected Migration()
public long getTransformModelId()
public long getPreprocessingModelId()
public long getPostprocessingModelId()
public long getOldModelId()
public String getOldModelName()
public String getOldModelVersion()
public String getOldModelHash()
public long getNewModelId()
public String getNewModelName()
public String getNewModelVersion()
public String getNewModelHash()
public Date getStartedDate()
public void setStartedDate(Date startedDate)
startedDate
- public Date getFinishedDate()
public void setFinishedDate(Date finishedDate)
finishedDate
- public long getSuccessfulCount()
public void setSuccessfulCount(long successfulCount)
successfulCount
- public long getFailedCount()
public void setFailedCount(long failedCount)
failedCount
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.