X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fchannel%2FCommandSpec.java;h=4268aae7dc935ddd35cec5c048a8818c8a62efd5;hb=a1696e5257fae039410c924155fdeffc1ce1b3e9;hp=2763c595fe04cf07644cc0af0981308d0a51d02d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/CommandSpec.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/CommandSpec.java index 2763c595f..4268aae7d 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/CommandSpec.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/CommandSpec.java @@ -1,32 +1,32 @@ -package org.simantics.databoard.channel; - -import org.simantics.databoard.binding.mutable.Variant; -import org.simantics.databoard.type.Datatype; - -/** - * This class carries a specification for a single command. - * - * @author Toni Kalajainen - */ -public class CommandSpec { - - /** Well-known id of the service */ - public final Variant commandId; - - /** Description of the request data. Typically a record type. */ - public final Datatype requestType; - - /** Description of the response data. Typically a record type. */ - public final Datatype responseType; - - /** Description of the error data. Typically a union type. */ - public final Datatype errorType; - - public CommandSpec(Variant commandId, Datatype requestType, Datatype responseType, Datatype errorType) { - this.commandId = commandId; - this.requestType = requestType; - this.responseType = responseType; - this.errorType = errorType; - } - -} +package org.simantics.databoard.channel; + +import org.simantics.databoard.binding.mutable.Variant; +import org.simantics.databoard.type.Datatype; + +/** + * This class carries a specification for a single command. + * + * @author Toni Kalajainen + */ +public class CommandSpec { + + /** Well-known id of the service */ + public final Variant commandId; + + /** Description of the request data. Typically a record type. */ + public final Datatype requestType; + + /** Description of the response data. Typically a record type. */ + public final Datatype responseType; + + /** Description of the error data. Typically a union type. */ + public final Datatype errorType; + + public CommandSpec(Variant commandId, Datatype requestType, Datatype responseType, Datatype errorType) { + this.commandId = commandId; + this.requestType = requestType; + this.responseType = responseType; + this.errorType = errorType; + } + +}