public final class IntOptionFieldAdapter extends NumericOptionFieldAdapter<IntOption>
FieldAdapter which accepts IntOption.| Modifier and Type | Class and Description |
|---|---|
static class |
IntOptionFieldAdapter.Builder
A builder of
IntOptionFieldAdapter. |
NumericOptionFieldAdapter.NumericBuilderBase<S extends NumericOptionFieldAdapter.NumericBuilderBase<S,T>,T extends FieldAdapter<?>>ValueOptionFieldAdapter.BuilderBase<S extends ValueOptionFieldAdapter.BuilderBase<S,T>,T extends FieldAdapter<?>>DEFAULT_NULL_FORMAT| Modifier and Type | Method and Description |
|---|---|
static IntOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmitDefault(IntOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParseDefault(CharSequence contents,
IntOption property)
Parses the given non-null character sequence and set the parsed value into property.
|
protected Number |
get(IntOption property)
Returns the property value.
|
protected void |
set(BigDecimal value,
IntOption property)
Sets the given number into the property.
|
doEmit, doParse, setSpecialclear, emit, parsepublic static IntOptionFieldAdapter.Builder builder()
protected Number get(IntOption property)
NumericOptionFieldAdapterget in class NumericOptionFieldAdapter<IntOption>property - the propertyprotected void set(BigDecimal value, IntOption property)
NumericOptionFieldAdapterset in class NumericOptionFieldAdapter<IntOption>value - the valueproperty - the propertyprotected void doParseDefault(CharSequence contents, IntOption property)
NumericOptionFieldAdapterdoParseDefault in class NumericOptionFieldAdapter<IntOption>contents - the contents, never nullproperty - the destination propertyprotected void doEmitDefault(IntOption property, StringBuilder output)
NumericOptionFieldAdapterdoEmitDefault in class NumericOptionFieldAdapter<IntOption>property - the property value, never null nor represents nulloutput - the destination bufferCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.