public static class FM3SetParameterMessage.Builder extends Sim0MQMessage.Builder<FM3SetParameterMessage.Builder>
Copyright (c) 2019-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
messageId, messageStatus, messageTypeId, receiverId, senderId, simulationRunId
Constructor and Description |
---|
Builder()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
FM3SetParameterMessage |
build()
Build the object.
|
FM3SetParameterMessage.Builder |
setParameterName(String newParameterName) |
FM3SetParameterMessage.Builder |
setParameterValue(Object newParameterValue) |
setMessageId, setMessageStatus, setMessageTypeId, setReceiverId, setSenderId, setSimulationRunId
public final FM3SetParameterMessage.Builder setParameterName(String newParameterName)
newParameterName
- set parameter namepublic final FM3SetParameterMessage.Builder setParameterValue(Object newParameterValue)
newParameterValue
- set parameterValuepublic FM3SetParameterMessage build() throws Sim0MQException, NullPointerException
build
in class Sim0MQMessage.Builder<FM3SetParameterMessage.Builder>
Sim0MQException
- on unknown data typeNullPointerException
- when one of the parameters is nullCopyright © 2016–2019 Delft University of Technology. All rights reserved.