Class StorageModelValidator

java.lang.Object
com.e1c.langtool.storage.model.StorageModelValidator

public class StorageModelValidator extends Object
The validator of project settings model.
  • Field Details

  • Constructor Details

    • StorageModelValidator

      public StorageModelValidator(ProjectStorageSettings object, IMessageAcceptor messageAcceptor)
      Instantiates a new storage model validator.
      Parameters:
      object - the model object, cannot be null.
      messageAcceptor - the message acceptor, cannot be null.
  • Method Details

    • validate

      public void validate(org.eclipse.core.runtime.IProgressMonitor monitor)
      Validate the model.
      Parameters:
      monitor - the monitor, cannot be null.
    • validate

      protected void validate(EditSettings object)
      Validate the editing settings.
      Parameters:
      object - the object, can be null.
    • validateReadOnly

      protected void validateReadOnly(StorageIdList object)
      Validate that list of storage IDs has read only id.
      Parameters:
      object - the object, can be null.
    • validate

      protected void validate(RuleSettings object)
      Validate rule settings.
      Parameters:
      object - the object, can b null.
    • validate

      protected void validate(StorageIdList object)
      Validate the list of storage IDs.
      Parameters:
      object - the object, can be null.
    • validate

      protected void validate(ContextStorageSettings object)
      Validate context storage settings.
      Parameters:
      object - the object, can be null.
    • validate

      protected void validate(DictionaryStorageSettings object)
      Validate dictionary storage settings.
      Parameters:
      object - the object, can be null.
    • validate

      protected void validate(StorageSettings object)
      Validate storage settings.
      Parameters:
      object - the object, can be null.