Interface CBVariantCaseBuilderType
public interface CBVariantCaseBuilderType
A builder of variant cases.
-
Method Summary
Modifier and TypeMethodDescriptioncreateField(String name, CBTypeExpressionType type, List<String> documentation) Create a new field within this variant case.owner()voidsetDocumentation(List<String> documentation) Set the documentation elements for the case.
-
Method Details
-
createField
CBVariantCaseBuilderType createField(String name, CBTypeExpressionType type, List<String> documentation) Create a new field within this variant case.- Parameters:
name- The field nametype- The type namedocumentation- The documentation- Returns:
- A case builder
-
owner
CBVariantBuilderType owner()- Returns:
- The owner of this variant case
-
setDocumentation
-