Declarativa Declarativa
 

 

Entrada

Produtos

Serviços

Inquiridor
Aplicações internet à medida
Auditoria informática
Subcontratação para I&D

Plataforma de conteúdos

Tecnologia

Web Information Systems
Web Application Maker
InterProlog

A empresa

Apresentação institucional

com.declarativa.interprolog.util
Class ResultFromProlog

java.lang.Object
  extended bycom.declarativa.interprolog.util.ResultFromProlog
All Implemented Interfaces:
Serializable

public class ResultFromProlog
extends Object
implements Serializable

Used to serialize results for deterministicGoal

See Also:
Serialized Form

Field Summary
 Object error
          Error message, null if none; used to be a String, now can be anything to cater for Prolog exceptions
 Object[] rVars
          Object array corresponding to the result variable list
 boolean succeeded
          Goal has succeeded
 int timestamp
          Same as passed in GoalFromJava
 
Constructor Summary
ResultFromProlog(int t, boolean s, int size, Object e)
           
 
Method Summary
 String toString()
           
 boolean wasInterrupted(AbstractPrologEngine engine)
          Prolog complaining about being interrupted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timestamp

public int timestamp
Same as passed in GoalFromJava


succeeded

public boolean succeeded
Goal has succeeded


rVars

public Object[] rVars
Object array corresponding to the result variable list


error

public Object error
Error message, null if none; used to be a String, now can be anything to cater for Prolog exceptions

Constructor Detail

ResultFromProlog

public ResultFromProlog(int t,
                        boolean s,
                        int size,
                        Object e)
Method Detail

toString

public String toString()

wasInterrupted

public boolean wasInterrupted(AbstractPrologEngine engine)
Prolog complaining about being interrupted. The engine parameter is necessary as the interrupt detection may depend on Prolog implementation or version




 Declarativa - Serviços de Informática, Lda.
  www.declarativa.com, info@declarativa.com  fax: +351-22-030-1511  tel: +351-22-030-1580
UPTEC - Parque de Ciência e Tecnologia da Universidade do Porto (GoogleMap)
Rua Actor Ferreira da Silva 100 4200-298 Porto Portugal