Java Runtime 3.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
alfa.rt.Union Interface Reference
Inheritance diagram for alfa.rt.Union:
alfa.rt.AlfaObject

Public Member Functions

String caseName ()
 
Object caseValue ()
 
default boolean isTagged ()
 
- Public Member Functions inherited from alfa.rt.AlfaObject
TypeDescriptor descriptor ()
 
Object get (String fieldName)
 
default void validate (alfa.rt.IBuilderConfig __builderConfig)
 

Detailed Description

Base interface of all generated Union definitions.

Member Function Documentation

◆ caseName()

String alfa.rt.Union.caseName ( )

Name of the union case/field that has been assigned for this union

Returns
Name of the assigned union field. If untagged union null is returned

◆ caseValue()

Object alfa.rt.Union.caseValue ( )

Value for the case/field that has been assigned a value

Returns
The value assigned to the field

The documentation for this interface was generated from the following file: