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