Class ResourceInstance
- java.lang.Object
-
- fi.tut.mei.matchmaking.process.interfacemm.model.ResourceInstance
-
- All Implemented Interfaces:
IClearResults
,Cloneable
public class ResourceInstance extends Object implements Cloneable, IClearResults
Datamodel for ResourceInstance, which represents Resource Instance Description (RID) level entity.- Author:
- Niko Siltala
-
-
Constructor Summary
Constructors Constructor Description ResourceInstance(ResourceType parent)
ResourceInstance(ResourceType parent, String gid)
-
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 resultsprotected Object
clone()
void
setParent(ResourceType parent)
Sets the parent
-
-
-
Constructor Detail
-
ResourceInstance
public ResourceInstance(ResourceType parent)
-
ResourceInstance
public ResourceInstance(ResourceType parent, String gid)
-
-
Method Detail
-
setParent
public void setParent(ResourceType parent)
Sets the parent- Parameters:
parent
-
-
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
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-