public class ElmChoiceBuilder extends Object implements ElmTypeDef
| Constructor and Description |
|---|
ElmChoiceBuilder(ElmChoiceSpec spec,
List<String> structTypes,
List<String> choiceTypes) |
| Modifier and Type | Method and Description |
|---|---|
ElmFunctionBuilder |
decoder() |
String |
decoderName() |
ElmFunctionBuilder |
encoder() |
String |
encoderName() |
String |
toElmCode() |
ILines |
typeDefinition() |
String |
typeName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcamelName, decode, decodeList, encode, encodeList, listDecoder, listEncoderpublic ElmChoiceBuilder(ElmChoiceSpec spec, List<String> structTypes, List<String> choiceTypes)
public String typeName()
typeName in interface ElmTypeDefpublic String encoderName()
encoderName in interface ElmTypeDefpublic String decoderName()
decoderName in interface ElmTypeDefpublic ILines typeDefinition()
public ElmFunctionBuilder encoder()
encoder in interface ElmTypeDefpublic ElmFunctionBuilder decoder()
decoder in interface ElmTypeDefpublic String toElmCode()
Copyright © 2023 nawaman.net. All rights reserved.