Package ch.raffael.meldioc.model.config
Class AnnotationAttribute
java.lang.Object
ch.raffael.meldioc.model.config.AnnotationAttribute
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationAttribute.Builderbuilder()abstract io.vavr.control.Option<Object>abstract Stringname()abstract Class<?>withDefaultValue(io.vavr.control.Option<Object> value) Copy the current immutable object by setting a value for thedefaultValueattribute.Copy the current immutable object by setting a value for thenameattribute.withValueType(Class<?> value) Copy the current immutable object by setting a value for thevalueTypeattribute.
-
Method Details
-
builder
-
name
-
valueType
-
defaultValue
-
withName
Copy the current immutable object by setting a value for thenameattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
withValueType
Copy the current immutable object by setting a value for thevalueTypeattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for valueType- Returns:
- A modified copy of the
thisobject
-
withDefaultValue
Copy the current immutable object by setting a value for thedefaultValueattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for defaultValue- Returns:
- A modified copy of the
thisobject
-