ConForM.CoopnTools.CoKer.ScenarioMgr
Interface AnonymousNameBridge

All Known Implementing Classes:
Scenario, EvalFrame

public interface AnonymousNameBridge

Anonymous name bridge.


Method Summary
 void endAnonymousNameBridge()
          End an anonymous name bridge.
 CoopnAnonymousName getAnonymousName(java.lang.Object key)
          Get the anonymous name corresponding to the key.
 void startAnonymousNameBridge()
          Start an anonymous name bridge.
 

Method Detail

startAnonymousNameBridge

public void startAnonymousNameBridge()
Start an anonymous name bridge. After a call to this method, the first call to getAnonymousName(key) will generate a new name, whatever the key is.

endAnonymousNameBridge

public void endAnonymousNameBridge()
End an anonymous name bridge. Release the resources used by the current bridge, if any.

getAnonymousName

public CoopnAnonymousName getAnonymousName(java.lang.Object key)
Get the anonymous name corresponding to the key. If the key has already been translated in this bridge, the associated name is returned; else a new name, unique to the scenario, is created and returned.