org.eclipse.gmt.umlx.ecore
Interface IPhantom

All Known Implementing Classes:
UOperationImpl

public interface IPhantom

IPhantom defines an additional interface for Ecore objects whose existence is to suppressed by invocation of EcoreUtils.disablePhantoms() prior to a save. (This provides per content object rather than per container transient-ness).


Method Summary
 boolean disable()
          Disable this phantom, so that it does not contribute to a resource save.
 void enable()
          (Re-)enable this phantom, so that it is avilable for normal usage.
 

Method Detail

disable

boolean disable()
Disable this phantom, so that it does not contribute to a resource save. This may have the side effect of preventing usage of the phantom until enable() is invoked.

Returns:
true if disable by this invocation, false if already disabled.

enable

void enable()
(Re-)enable this phantom, so that it is avilable for normal usage.