EnumBuilder¶
-
public interface
EnumBuilder
¶ An enum builder is responsible for building the enum class with the same values as those are defined in the field.
Methods¶
build¶
-
ClassData
build
(ComboboxHolder holder)¶ Builds an Enum, based on the passed
org.motechproject.mds.domain.ComboboxHolder
object. If not specified otherwise by the field metadata, the enum will be named after the entity and field name.Parameters: - holder – A helper object, representing MDS Combobox type.
Returns: Bytecode representation of the enum.