Package de.fabmax.webidl.model
Class IdlConstant.Builder
-
- All Implemented Interfaces:
public final class IdlConstant.Builder extends IdlDecoratedElement.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private StringdefaultValueprivate IdlTypetypeprivate final Set<IdlDecorator>decoratorsprivate Stringname
-
Constructor Summary
Constructors Constructor Description IdlConstant.Builder(String name, IdlType type)
-
Method Summary
Modifier and Type Method Description final StringgetDefaultValue()final UnitsetDefaultValue(String defaultValue)final IdlTypegetType()final UnitsetType(IdlType type)final IdlConstantbuild()-
Methods inherited from class de.fabmax.webidl.model.IdlDecoratedElement.Builder
addDecorator, getDecorators -
Methods inherited from class de.fabmax.webidl.model.IdlElement.Builder
getName, setName -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDefaultValue
final String getDefaultValue()
-
setDefaultValue
final Unit setDefaultValue(String defaultValue)
-
build
final IdlConstant build()
-
-
-
-