Class IsPersistedAutoCommand

    • Constructor Detail

      • IsPersistedAutoCommand

        protected IsPersistedAutoCommand​(Command command,
                                         AbstractDataPath enPath,
                                         AbstractDataPath ruPath)
        Creates a new query.
        Parameters:
        command - the searching command.
        enPath - the en path of auto command.
        ruPath - the ru path of auto command.
    • Method Detail

      • isPersisted

        public static final IsPersistedAutoCommand isPersisted​(Command command,
                                                               AbstractDataPath enPath,
                                                               AbstractDataPath ruPath)
        Creates a new query
        Parameters:
        command - the searching command.
        enPath - the en path of auto command.
        ruPath - the ru path of auto command.
        Returns:
        return new query.
      • select

        public Boolean select​(CommandInterfaceMapping root,
                              Map<Object,​? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
        The method selects data from Mapping. Data can get from mapping root model(IMappingRoot) or map of relation between domain model and basic mapping model (TBasicModel).
        Specified by:
        select in interface IQuery<Boolean,​CommandInterfaceMapping>
        Parameters:
        root - - is root mapping object.
        mapping - - is map of relation (domain model - basic mapping model)
        Returns:
        the result of query.