public final class CreateCommand extends CommunicationUnit
Constructor and Description |
---|
CreateCommand(Identifier sender,
long modelId,
java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.Long parentModelInstanceId,
boolean startInterpret,
boolean reply)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getModelId()
Returns the model id.
|
java.lang.Long |
getParentModelInstanceId()
Returns the parent model instance id.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the properties map.
|
int |
hashCode() |
boolean |
isReply()
Returns the reply flag.
|
boolean |
isStartInterpret()
Returns the start interpret flag.
|
java.lang.String |
toString() |
getReceiver, getSender
public CreateCommand(Identifier sender, long modelId, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.Long parentModelInstanceId, boolean startInterpret, boolean reply)
sender
- the sendermodelId
- the model idproperties
- the properties mapparentModelInstanceId
- the parent model instance idstartInterpret
- the start interpret flagreply
- the reply flagjava.lang.IllegalArgumentException
- if properties
contains null keys or valuespublic long getModelId()
public java.lang.Long getParentModelInstanceId()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public boolean isStartInterpret()
public boolean isReply()
public boolean equals(java.lang.Object o)
equals
in class CommunicationUnit
public int hashCode()
hashCode
in class CommunicationUnit
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.