|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlij.model.Framework
public class Framework
This class contains the IM's Role and Clause definitions.
Field Summary | |
---|---|
private java.util.HashMap<Term,Clause> |
clauses
|
private java.util.HashMap<Term,Role> |
roles
|
Constructor Summary | |
---|---|
Framework()
|
Method Summary | |
---|---|
void |
addClause(Clause newClause)
Adds a new Clause into the Framework's map of Clause definitions. |
void |
addRole(Role newRole)
Adds a new Role into the Framework's map of Role definitions. |
java.util.HashMap<Term,Clause> |
getClauses()
Accessor. |
Role |
getInitialRole()
Returns the Role definition that is of the kind "initial". |
java.util.HashMap<Term,Role> |
getRoles()
Accessor. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.HashMap<Term,Role> roles
private java.util.HashMap<Term,Clause> clauses
Constructor Detail |
---|
public Framework()
Method Detail |
---|
public java.util.HashMap<Term,Role> getRoles()
public java.util.HashMap<Term,Clause> getClauses()
public void addRole(Role newRole) throws InterpreterException
newRole
- The Role to add.
InterpreterException
public void addClause(Clause newClause) throws InterpreterException
newClause
- The Clause to add.
InterpreterException
public Role getInitialRole() throws InterpreterException
InterpreterException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |