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, getSenderpublic 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 CommunicationUnitpublic int hashCode()
hashCode in class CommunicationUnitCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.