public final class ModelInstanceInfo
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
ModelInstanceInfo()
Creates new instance.
|
|
ModelInstanceInfo(long id,
java.lang.Long parentId,
ModelInstanceState state,
java.util.Date startedDate,
java.util.Date finishedDate,
StringProperties properties,
long modelId,
java.lang.String modelHash,
java.lang.String modelName,
java.lang.String modelVersion)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getFinishedDate()
Returns the date when the process has finished.
|
long |
getId()
Returns process id.
|
java.lang.String |
getModelHash()
Return a model hash of the associated process model.
|
long |
getModelId()
Returns id of the associated process model.
|
java.lang.String |
getModelName()
Returns name of the associated process model.
|
java.lang.String |
getModelVersion()
Returns version of the associated process model.
|
java.lang.Long |
getParentId()
Returns the parent model instance id.
|
StringProperties |
getProperties()
Returns process properties.
|
java.util.Date |
getStartedDate()
Returns the date when the process was started.
|
ModelInstanceState |
getState()
Returns state of the model instance execution.
|
int |
hashCode() |
boolean |
isFinished()
Returns true if process is finished.
|
protected ModelInstanceInfo()
public ModelInstanceInfo(long id, java.lang.Long parentId, ModelInstanceState state, java.util.Date startedDate, java.util.Date finishedDate, StringProperties properties, long modelId, java.lang.String modelHash, java.lang.String modelName, java.lang.String modelVersion)
id
- parentId
- state
- startedDate
- finishedDate
- properties
- modelId
- modelHash
- modelName
- modelVersion
- java.lang.NullPointerException
- if agentName
or properties
or modelName
or modelVersion
is nullpublic long getId()
public java.lang.Long getParentId()
public ModelInstanceState getState()
public java.util.Date getStartedDate()
public java.util.Date getFinishedDate()
public boolean isFinished()
public StringProperties getProperties()
public long getModelId()
public java.lang.String getModelHash()
public java.lang.String getModelName()
public java.lang.String getModelVersion()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.