Package ch.raffael.meldioc.model
Class Model<S,T>
java.lang.Object
ch.raffael.meldioc.model.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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.raffael.meldioc.model.messages.MessageSink
MessageSink.Tracker<S,T>, MessageSink.UniqueWrapper<S,T> -
Method Summary
Modifier and Type Method Description Adaptor<S,T>adaptor()ch.raffael.meldioc.model.ConfigRef<T>configSupportedType(ch.raffael.meldioc.model.SrcElement<S,T> element)io.vavr.control.Option<ch.raffael.meldioc.model.ConfigRef<T>>configSupportedTypeOption(T type)io.vavr.control.Option<T>configType()static <S, T, A extends Adaptor<S, T> & MessageSink<S, T>>
Model<S,T>create(A adaptor)static <S, T> Model<S,T>create(Adaptor<S,T> adaptor, MessageSink<S,T> messages)TenumType()TerrorType()voidmessage(Message<S,T> message)ModelType<S,T>modelOf(T type)io.vavr.collection.Seq<ch.raffael.meldioc.model.SrcElement<S,T>>objectMethods()TobjectType()TruntimeExceptionType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.raffael.meldioc.model.messages.MessageSink
tracker
-
Method Details
-
create
-
create
public static <S, T, A extends Adaptor<S, T> & MessageSink<S, T>> Model<S,T> create(A adaptor) -
modelOf
-
adaptor
-
objectType
-
enumType
-
runtimeExceptionType
-
errorType
-
objectMethods
-
configSupportedTypeOption
-
configSupportedType
-
configType
-
message
- Specified by:
messagein interfaceMessageSink<S,T>
-