Class IfMatchResult
- java.lang.Object
-
- fi.tut.mei.matchmaking.process.interfacemm.model.IfMatchResult
-
- All Implemented Interfaces:
IClearResults
public class IfMatchResult extends Object implements IClearResults
Data model for Interface Matchmaking Result- Author:
- Niko Siltala
-
-
Constructor Summary
Constructors Constructor Description IfMatchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAllResults()
Clear All results related markers and connections assigned for this instancevoid
clearConnections()
Clear all connections found for this instancevoid
clearMarkers()
Clears markers used for resultsIInterfaceMatchMaker.eMatchingLevel
getMatchingLevel()
int
getMatchRatio()
Map<String,ResourceType>
getResourceTypesList()
boolean
isConnected_Fine()
boolean
isConnected_Rough()
boolean
isMatch()
void
setConnected_Fine(boolean connected_Fine)
void
setConnected_Rough(boolean connected_Rough)
void
setMatchingLevel(IInterfaceMatchMaker.eMatchingLevel matchingLevel)
-
-
-
Method Detail
-
getMatchingLevel
public IInterfaceMatchMaker.eMatchingLevel getMatchingLevel()
- Returns:
- the matchingLevel
-
setMatchingLevel
public void setMatchingLevel(IInterfaceMatchMaker.eMatchingLevel matchingLevel)
- Parameters:
matchingLevel
- the matchingLevel to set
-
getResourceTypesList
public Map<String,ResourceType> getResourceTypesList()
- Returns:
- the resourceTypesList
-
isMatch
public boolean isMatch()
- Returns:
- the match
-
getMatchRatio
public int getMatchRatio()
- Returns:
- the matchRatio
-
isConnected_Rough
public boolean isConnected_Rough()
- Returns:
- the connected_Rough
-
setConnected_Rough
public void setConnected_Rough(boolean connected_Rough)
- Parameters:
connected_Rough
- the connected_Rough to set
-
isConnected_Fine
public boolean isConnected_Fine()
- Returns:
- the connected_Fine
-
setConnected_Fine
public void setConnected_Fine(boolean connected_Fine)
- Parameters:
connected_Fine
- the connected_Fine to set
-
clearAllResults
public void clearAllResults()
Description copied from interface:IClearResults
Clear All results related markers and connections assigned for this instance- Specified by:
clearAllResults
in interfaceIClearResults
-
clearMarkers
public void clearMarkers()
Description copied from interface:IClearResults
Clears markers used for results- Specified by:
clearMarkers
in interfaceIClearResults
-
clearConnections
public void clearConnections()
Description copied from interface:IClearResults
Clear all connections found for this instance- Specified by:
clearConnections
in interfaceIClearResults
-
-