Class AbstractStrongReferencingConnection
- java.lang.Object
-
- org.processmining.framework.connections.impl.AbstractConnection
-
- org.processmining.framework.connections.impl.AbstractStrongReferencingConnection
-
- All Implemented Interfaces:
Connection
public abstract class AbstractStrongReferencingConnection extends AbstractConnection
-
-
Field Summary
-
Fields inherited from class org.processmining.framework.connections.impl.AbstractConnection
manager
-
-
Constructor Summary
Constructors Constructor Description AbstractStrongReferencingConnection(java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRemoved()
Return true if one of the objects connected by this connection no longer exists, i.e.protected <T> java.lang.ref.WeakReference<T>
putStrong(java.lang.String role, T o)
-
Methods inherited from class org.processmining.framework.connections.impl.AbstractConnection
containsObjects, containsObjects, equals, get, getID, getLabel, getMapping, getObjects, getObjectWithRole, getRoles, hashCode, put, remove, remove, setLabel, setManager, toString, updated
-
-
-
-
Method Detail
-
putStrong
protected <T> java.lang.ref.WeakReference<T> putStrong(java.lang.String role, T o)
-
isRemoved
public boolean isRemoved()
Description copied from interface:Connection
Return true if one of the objects connected by this connection no longer exists, i.e. it is collected by the garbage collector.- Specified by:
isRemoved
in interfaceConnection
- Overrides:
isRemoved
in classAbstractConnection
- Returns:
-
-