public final class ModuleInstance
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
ModuleInstance()
Creates new instance.
|
|
ModuleInstance(long id,
Context context,
java.util.Collection<ProcessInstance> processInstances)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Context |
getContext()
Returns the top context of this module instance.
|
long |
getId()
Returns the id of this module instance.
|
java.lang.String |
getModelId()
Returns the model id of this module.
|
java.lang.String |
getName()
Returns the name of this module instance.
|
java.util.List<ProcessInstance> |
getProcessInstances()
Returns the list of process instances.
|
int |
hashCode() |
java.lang.String |
toString() |
protected ModuleInstance()
public ModuleInstance(long id,
Context context,
java.util.Collection<ProcessInstance> processInstances)
id - context - processInstances - java.lang.NullPointerException - if topContext is null or if processInstances is nulljava.lang.IllegalArgumentException - if imports map contains null valuepublic long getId()
public java.lang.String getName()
public java.lang.String getModelId()
public Context getContext()
public java.util.List<ProcessInstance> getProcessInstances()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.