public static class TypedefType._Builder extends PMessageBuilder<TypedefType,TypedefType._Field> implements BinaryReader
| Constructor and Description |
|---|
_Builder()
Make a model.TypedefType builder.
|
_Builder(TypedefType base)
Make a mutating builder off a base model.TypedefType.
|
| Modifier and Type | Method and Description |
|---|---|
TypedefType._Builder |
addTo(int key,
Object value) |
TypedefType |
build() |
TypedefType._Builder |
clear(int key) |
TypedefType._Builder |
clearDocumentation()
Clears the documentation field.
|
TypedefType._Builder |
clearName()
Clears the name field.
|
TypedefType._Builder |
clearType()
Clears the type field.
|
PStructDescriptor<TypedefType,TypedefType._Field> |
descriptor() |
boolean |
equals(Object o) |
String |
getDocumentation()
Gets the value of the contained documentation.
|
String |
getName()
Gets the value of the contained name.
|
String |
getType()
Gets the value of the contained type.
|
int |
hashCode() |
boolean |
isModified(int key) |
boolean |
isModifiedDocumentation()
Checks if documentation has been modified since the _Builder was created.
|
boolean |
isModifiedName()
Checks if name has been modified since the _Builder was created.
|
boolean |
isModifiedType()
Checks if type has been modified since the _Builder was created.
|
boolean |
isSet(int key) |
boolean |
isSetDocumentation()
Checks for presence of the documentation field.
|
boolean |
isSetName()
Checks for presence of the name field.
|
boolean |
isSetType()
Checks for presence of the type field.
|
TypedefType._Builder |
merge(TypedefType from) |
PMessageBuilder |
mutator(int key) |
void |
readBinary(net.morimekta.util.io.BigEndianBinaryReader reader,
boolean strict) |
TypedefType._Builder |
set(int key,
Object value) |
TypedefType._Builder |
setDocumentation(String value)
Sets the value of documentation.
|
TypedefType._Builder |
setName(String value)
Sets the value of name.
|
TypedefType._Builder |
setType(String value)
Sets the value of type.
|
boolean |
valid() |
void |
validate() |
addTo, clear, isModified, isSet, modifiedFields, mutator, presentFields, setpublic _Builder()
public _Builder(TypedefType base)
base - The base TypedefType@Nonnull public TypedefType._Builder merge(TypedefType from)
merge in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder setDocumentation(String value)
value - The new valuepublic boolean isSetDocumentation()
public boolean isModifiedDocumentation()
@Nonnull public TypedefType._Builder clearDocumentation()
public String getDocumentation()
@Nonnull public TypedefType._Builder setType(String value)
value - The new valuepublic boolean isSetType()
public boolean isModifiedType()
@Nonnull public TypedefType._Builder clearType()
public String getType()
@Nonnull public TypedefType._Builder setName(String value)
value - The new valuepublic boolean isSetName()
public boolean isModifiedName()
@Nonnull public TypedefType._Builder clearName()
public String getName()
public PMessageBuilder mutator(int key)
mutator in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder set(int key, Object value)
set in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean isSet(int key)
isSet in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean isModified(int key)
isModified in class PMessageBuilder<TypedefType,TypedefType._Field>public TypedefType._Builder addTo(int key, Object value)
addTo in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public TypedefType._Builder clear(int key)
clear in class PMessageBuilder<TypedefType,TypedefType._Field>public boolean valid()
valid in class PMessageBuilder<TypedefType,TypedefType._Field>public void validate()
validate in class PMessageBuilder<TypedefType,TypedefType._Field>@Nonnull public PStructDescriptor<TypedefType,TypedefType._Field> descriptor()
descriptor in class PMessageBuilder<TypedefType,TypedefType._Field>public void readBinary(net.morimekta.util.io.BigEndianBinaryReader reader,
boolean strict)
throws IOException
readBinary in interface BinaryReaderIOExceptionpublic TypedefType build()
build in interface PBuilder<TypedefType>Copyright © 2015–2017 morimekta.net. All rights reserved.