Class ParameterConfig<S>

java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.ParameterConfig<S>

public abstract class ParameterConfig<S> extends ElementConfig<S>
  • Field Details

  • Method Details

    • builder

      public static <S> ParameterConfig.Builder<S> builder()
    • of

      public static ParameterConfig<ch.raffael.meldioc.Parameter> of(ch.raffael.meldioc.Parameter annotation)
    • value

      public abstract String value()
    • absolute

      public abstract boolean absolute()
    • type

      public final ModelAnnotationType type()
      Specified by:
      type in class ElementConfig<S>
    • valueMap

      public io.vavr.collection.Map<String,Object> valueMap()
      Specified by:
      valueMap in class ElementConfig<S>
    • displayName

      public String displayName()
      Overrides:
      displayName in class ElementConfig<S>
    • path

      public io.vavr.control.Option<String> path()
    • fullPath

      public String fullPath(SrcElement<?,?> element)
    • withSource

      ParameterConfig<S> withSource(S value)
      Copy the current immutable object by setting a value for the source attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for source
      Returns:
      A modified copy of the this object
    • withValue

      ParameterConfig<S> withValue(String value)
      Copy the current immutable object by setting a value for the value attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for value
      Returns:
      A modified copy of the this object
    • withAbsolute

      ParameterConfig<S> withAbsolute(boolean value)
      Copy the current immutable object by setting a value for the absolute attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for absolute
      Returns:
      A modified copy of the this object