Class LazyEditableSModelBase

    • Method Detail

      • getSModelInternal

        public final SModel getSModelInternal()
        Description copied from class: SModelDescriptorStub
        Migration to 3.0. Loads and returns model data. FIXME Replace uses of this method with getSModel(), make it abstract and implement in SModelBase subclasses. The name getSModelInternal is misleading as it clashes with SModelInternal interface this class implements. Though getSModel is not much better, at least in the context of SModelDescriptor it makes more sense.
        Specified by:
        getSModelInternal in class SModelDescriptorStub
      • load

        public final void load()
        Description copied from interface: SModel
        When owning a read action lock, this method will fully load the model from the storage. Does nothing if already loaded. The load() method is called automatically on a not-loaded model whenever elements from it are being resolved. Problems can be retrieved later by the SModel.getProblems() method.
        Specified by:
        load in interface SModel
        Overrides:
        load in class SModelBase
      • getCurrentModelInternal

        protected final SModel getCurrentModelInternal()
        Description copied from class: SModelBase
        Likely, shall return SModelData eventually
        Specified by:
        getCurrentModelInternal in class SModelBase
        Returns:
        actual model data or null if not initialized yet