ingenias.jade.mental.FrameFact1 Maven / Gradle / Ivy
The newest version!
/*
Copyright (C) 2005 Jorge Gomez Sanz
This file is part of INGENIAS Agent Framework, an agent infrastructure linked
to the INGENIAS Development Kit, and availabe at http://grasia.fdi.ucm.es/ingenias or
http://ingenias.sourceforge.net.
INGENIAS Agent Framework is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
INGENIAS Agent Framework is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with INGENIAS Agent Framework; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package ingenias.jade.mental;
import java.util.*;
import ingenias.jade.components.*;
import ingenias.editor.entities.*;
import ingenias.editor.entities.ViewPreferences.ViewType;
public class FrameFact1 extends ingenias.editor.entities.RuntimeFact{
public FrameFact1 (String id){
super(id);
this.getPrefs(null).setView(ViewType.UML);
this.type="FrameFact1";
}
public FrameFact1 (){
super(ingenias.jade.MentalStateManager.generateMentalEntityID());
this.getPrefs(null).setView(ViewType.UML);
}
public String toString(){
return this.getId()+":"+this.getType();
}
public String getType(){
return "FrameFact1";
}
public String getParentType(){
return "RuntimeFact";
}
}