Package net.morimekta.providence.model
Interface Decl._Builder
-
- All Superinterfaces:
Decl
- All Known Implementing Classes:
ConstType._Builder
,EnumType._Builder
,EnumValue._Builder
,FieldType._Builder
,FunctionType._Builder
,MessageType._Builder
,ServiceType._Builder
,TypedefType._Builder
- Enclosing interface:
- Decl
public static interface Decl._Builder extends Decl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.morimekta.providence.model.Decl
Decl._Builder, Decl._Field
-
-
Field Summary
-
Fields inherited from interface net.morimekta.providence.model.Decl
kDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Decl
build()
Decl._Builder
clearDocumentation()
Clear thedocumentation
field value.Decl._Builder
clearName()
Clear thename
field value.Decl._Builder
setDocumentation(java.lang.String value)
Set thedocumentation
field value.Decl._Builder
setName(java.lang.String value)
Set thename
field value.-
Methods inherited from interface net.morimekta.providence.model.Decl
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentation
-
-
-
-
Method Detail
-
setDocumentation
@Nonnull Decl._Builder setDocumentation(java.lang.String value)
Set thedocumentation
field value.Documentation for the specific declaration.
- Parameters:
value
- The new value- Returns:
- The builder
-
clearDocumentation
@Nonnull Decl._Builder clearDocumentation()
Clear thedocumentation
field value.Documentation for the specific declaration.
- Returns:
- The builder
-
setName
@Nonnull Decl._Builder setName(java.lang.String value)
Set thename
field value.Name of the type, constant or service.
- Parameters:
value
- The new value- Returns:
- The builder
-
clearName
@Nonnull Decl._Builder clearName()
Clear thename
field value.Name of the type, constant or service.
- Returns:
- The builder
-
build
@Nonnull Decl build()
- Returns:
- The built instance
-
-