Package ch.raffael.meldioc.model.config
Class ParameterPrefixConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.ParameterPrefixConfig<S>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> ParameterPrefixConfig.Builder<S>builder()static ParameterPrefixConfig<ch.raffael.meldioc.Parameter.Prefix>of(ch.raffael.meldioc.Parameter.Prefix annotation) final ModelAnnotationTypetype()abstract Stringvalue()valueMap()withSource(S value) Copy the current immutable object by setting a value for thesourceattribute.Copy the current immutable object by setting a value for thevalueattribute.Methods inherited from class ch.raffael.meldioc.model.config.ElementConfig
isConfigType, of, source, valueMapWithoutDefaults
-
Field Details
-
TYPE
-
VALUE
- See Also:
-
-
Method Details
-
builder
-
of
public static ParameterPrefixConfig<ch.raffael.meldioc.Parameter.Prefix> of(ch.raffael.meldioc.Parameter.Prefix annotation) -
value
-
type
- Specified by:
typein classElementConfig<S>
-
valueMap
- Specified by:
valueMapin classElementConfig<S>
-
displayName
- Overrides:
displayNamein classElementConfig<S>
-
withSource
Copy the current immutable object by setting a value for thesourceattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for source- Returns:
- A modified copy of the
thisobject
-
withValue
Copy the current immutable object by setting a value for thevalueattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for value- Returns:
- A modified copy of the
thisobject
-