Klasse ExtendedArgumentMediator<A>

java.lang.Object
ch.nolix.core.errorcontrol.validator.ArgumentMediator<A>
ch.nolix.core.errorcontrol.validator.ExtendedArgumentMediator<A>
Typparameter:
A - is the type of the argument of an extended generic argument mediator.

public class ExtendedArgumentMediator<A> extends ArgumentMediator<A>
An extended generic argument mediator is not mutable.
Version:
2017-11-12
Autor:
Silvan Wyss
  • Felddetails

  • Methodendetails

    • thatIsNamed

      public final ArgumentMediator<A> thatIsNamed(Class<?> type)
      Parameter:
      type -
      Gibt zurück:
      a new generic argument mediator with the argument name from the given type and for the argument of this extended generic argument mediator.
    • thatIsNamed

      public ArgumentMediator<A> thatIsNamed(String argumentName)
      Parameter:
      argumentName -
      Gibt zurück:
      a new generic argument mediator with the given argument name and for the argument of this extended generic argument mediator.
      Löst aus:
      ArgumentIsNullException - if the given argument name is null.
      EmptyArgumentException - if the given argument name is empty.
    • getArgumentName

      protected final String getArgumentName()
      Gibt zurück:
      the argument name of the current Mediator.