Package ch.raffael.meldioc.model.config
Class ParameterConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.ParameterConfig<S>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabsolute()static <S> ParameterConfig.Builder<S>builder()fullPath(SrcElement<?, ?> element) static ParameterConfig<ch.raffael.meldioc.Parameter>of(ch.raffael.meldioc.Parameter annotation) io.vavr.control.Option<String>path()final ModelAnnotationTypetype()abstract Stringvalue()valueMap()withAbsolute(boolean value) Copy the current immutable object by setting a value for theabsoluteattribute.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:
-
ABSOLUTE
- See Also:
-
-
Method Details
-
builder
-
of
public static ParameterConfig<ch.raffael.meldioc.Parameter> of(ch.raffael.meldioc.Parameter annotation) -
value
-
absolute
public abstract boolean absolute() -
type
- Specified by:
typein classElementConfig<S>
-
valueMap
- Specified by:
valueMapin classElementConfig<S>
-
displayName
- Overrides:
displayNamein classElementConfig<S>
-
path
-
fullPath
-
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
-
withAbsolute
Copy the current immutable object by setting a value for theabsoluteattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for absolute- Returns:
- A modified copy of the
thisobject
-