Interface CBVariantCaseBuilderType


public interface CBVariantCaseBuilderType
A builder of variant cases.
  • Method Details

    • createField

      CBVariantCaseBuilderType createField(String name, CBTypeExpressionType type, List<String> documentation)
      Create a new field within this variant case.
      Parameters:
      name - The field name
      type - The type name
      documentation - The documentation
      Returns:
      A case builder
    • owner

      Returns:
      The owner of this variant case
    • setDocumentation

      void setDocumentation(List<String> documentation)
      Set the documentation elements for the case.
      Parameters:
      documentation - The documentation