Class ViewSpecificAttributeMap
- java.lang.Object
-
- org.processmining.models.graphbased.ViewSpecificAttributeMap
-
public class ViewSpecificAttributeMap extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ViewSpecificAttributeMap
EMPTYMAP
-
Constructor Summary
Constructors Constructor Description ViewSpecificAttributeMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearViewSpecific(AttributeMapOwner owner)
ViewSpecificAttributeMap
createClone()
java.lang.Object
get(AttributeMapOwner owner, java.lang.String key)
<T> T
get(AttributeMapOwner owner, java.lang.String key, T defaultValue)
AttributeMap
getMapFor(AttributeMapOwner node)
java.util.Set<AttributeMapOwner>
keySet()
java.util.Set<java.lang.String>
keySet(AttributeMapOwner owner)
boolean
putViewSpecific(AttributeMapOwner owner, java.lang.String key, java.lang.Object value)
This method updates the map and signals the owner.void
removeViewSpecific(AttributeMapOwner owner, java.lang.String key)
-
-
-
Field Detail
-
EMPTYMAP
public static final ViewSpecificAttributeMap EMPTYMAP
-
-
Method Detail
-
get
public java.lang.Object get(AttributeMapOwner owner, java.lang.String key)
-
get
public <T> T get(AttributeMapOwner owner, java.lang.String key, T defaultValue)
-
clearViewSpecific
public void clearViewSpecific(AttributeMapOwner owner)
-
keySet
public java.util.Set<java.lang.String> keySet(AttributeMapOwner owner)
-
putViewSpecific
public boolean putViewSpecific(AttributeMapOwner owner, java.lang.String key, java.lang.Object value)
This method updates the map and signals the owner. The origin is passed in this update, to make sure that no unnecessary updates are performed- Parameters:
key
-value
-origin
-- Returns:
-
removeViewSpecific
public void removeViewSpecific(AttributeMapOwner owner, java.lang.String key)
-
keySet
public java.util.Set<AttributeMapOwner> keySet()
-
getMapFor
public AttributeMap getMapFor(AttributeMapOwner node)
-
createClone
public ViewSpecificAttributeMap createClone()
-
-