Class Model<S,​T>

  • All Implemented Interfaces:
    MessageSink<S,​T>

    public final class Model<S,​T>
    extends java.lang.Object
    implements MessageSink<S,​T>
    The Meld model.
    • Method Detail

      • create

        public static <S,​T> Model<S,​T> create​(Adaptor<S,​T> adaptor,
                                                          MessageSink<S,​T> messages)
      • create

        public static <S,​T,​A extends Adaptor<S,​T> & MessageSink<S,​T>> Model<S,​T> create​(A adaptor)
      • objectType

        public T objectType()
      • enumType

        public T enumType()
      • runtimeExceptionType

        public T runtimeExceptionType()
      • errorType

        public T errorType()
      • objectMethods

        public io.vavr.collection.Seq<ch.raffael.meldioc.model.CElement<S,​T>> objectMethods()
      • configSupportedTypeOption

        public io.vavr.control.Option<ch.raffael.meldioc.model.ConfigRef<T>> configSupportedTypeOption​(T type)
      • configSupportedType

        public ch.raffael.meldioc.model.ConfigRef<T> configSupportedType​(ch.raffael.meldioc.model.CElement<S,​T> element)
      • configType

        public io.vavr.control.Option<T> configType()