-
public abstract class Parameter
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisMandatoryprivate final TypeNametypeNameprivate final Stringnameprivate final Stringdocprivate final BooleanhasDefaultprivate final StringrequiredGroup
-
Method Summary
Modifier and Type Method Description final BooleangetIsMandatory()final TypeNamegetTypeName()final StringgetName()final StringgetDoc()final BooleangetHasDefault()final StringgetRequiredGroup()final CodeBlockgetClassStatement()final CodeBlockgetPassToConstructorStatement(Boolean checkNullity)final PropertySpecgetProperty(TypeName referencedType)final FunSpecgetBuilderFunction(TypeName referencedType, TypeName builderType)List<FunSpec>additionalFunctions(TypeName referencedType, TypeName builderType)-
-
Method Detail
-
getIsMandatory
final Boolean getIsMandatory()
-
getTypeName
final TypeName getTypeName()
-
getHasDefault
final Boolean getHasDefault()
-
getRequiredGroup
final String getRequiredGroup()
-
getClassStatement
final CodeBlock getClassStatement()
-
getPassToConstructorStatement
final CodeBlock getPassToConstructorStatement(Boolean checkNullity)
-
getProperty
final PropertySpec getProperty(TypeName referencedType)
-
getBuilderFunction
final FunSpec getBuilderFunction(TypeName referencedType, TypeName builderType)
-
additionalFunctions
List<FunSpec> additionalFunctions(TypeName referencedType, TypeName builderType)
-
-
-
-