Class ReasonerMessage
- java.lang.Object
-
- net.ssehub.easy.reasoning.core.impl.ReasonerMessage
-
- All Implemented Interfaces:
IReasonerMessage
public class ReasonerMessage extends java.lang.Object implements IReasonerMessage
Implements the internal message among reasoners.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.ssehub.easy.reasoning.core.reasoner.IReasonerMessage
IReasonerMessage.IType, IReasonerMessage.Type
-
-
Field Summary
Fields Modifier and Type Field Description private IReasonersourceprivate IReasonerMessage.ITypetype
-
Constructor Summary
Constructors Constructor Description ReasonerMessage(IReasoner source, IReasonerMessage.IType type)Creates a reasoner message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IReasonergetSource()Returns the message source.IReasonerMessage.ITypegetType()Returns the type of the message.
-
-
-
Field Detail
-
source
private IReasoner source
-
type
private IReasonerMessage.IType type
-
-
Constructor Detail
-
ReasonerMessage
public ReasonerMessage(IReasoner source, IReasonerMessage.IType type)
Creates a reasoner message.- Parameters:
source- the source reasoner issuing the messagetype- the type of the message
-
-
Method Detail
-
getSource
public IReasoner getSource()
Description copied from interface:IReasonerMessageReturns the message source.- Specified by:
getSourcein interfaceIReasonerMessage- Returns:
- the message source
-
getType
public IReasonerMessage.IType getType()
Description copied from interface:IReasonerMessageReturns the type of the message.- Specified by:
getTypein interfaceIReasonerMessage- Returns:
- the type of the message
-
-