00001 /* 00002 ** Author(s): Miguel Calejo 00003 ** Contact: interprolog@declarativa.com, http://www.declarativa.com 00004 ** Copyright (C) Declarativa, Portugal, 2000-2002 00005 ** Use and distribution, without any warranties, under the terms of the 00006 ** GNU Library General Public License, readable in http://www.fsf.org/copyleft/lgpl.html 00007 */ 00008 package com.declarativa.interprolog.util; 00009 import java.io.Serializable; 00011 public class GoalFromJava implements Serializable{ 00012 int timestamp; 00013 String G /* includes OVar, RVars*/; 00014 Object[] objects; 00015 public GoalFromJava(int t,String G,String OVar,Object[] objects,String RVars){ 00016 this.objects=objects; 00017 if (RVars==null) RVars="null"; 00018 this.G="gfj( ( "+G+" ), ( "+OVar+" ), ("+RVars+") )."; timestamp=t; 00019 } 00020 }