| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.starhope.appius.game.npc.plebeian.PlebeianTestClause
public class PlebeianTestClause
a test clause for checking an Action against a scripted
 proposition
| Field Summary | |
|---|---|
| private  String | accusativeWRITEME: Document this brpocock@star-hope.org | 
| private  String | dativeWRITEME: Document this brpocock@star-hope.org | 
| private  String | locativeWRITEME: Document this brpocock@star-hope.org | 
| private  String | nominativeWRITEME: Document this brpocock@star-hope.org | 
| private  String | verbWRITEME: Document this brpocock@star-hope.org | 
| Constructor Summary | |
|---|---|
| PlebeianTestClause()construct a neutral test clause that would match anything | |
| PlebeianTestClause(String v,
                   String nom,
                   String acc,
                   String dat,
                   String loc)construct a test clause with the provided stream of parameters | |
| Method Summary | |
|---|---|
|  PlebeianTestClause | addAccusativeProposition(String acc)WRITEME: Document this method brpocock@star-hope.org | 
|  PlebeianTestClause | addDativeProposition(String dat)WRITEME: Document this method brpocock@star-hope.org | 
|  PlebeianTestClause | addLocativeProposition(String loc)WRITEME: Document this method brpocock@star-hope.org | 
|  PlebeianTestClause | addNominativeProposition(String nom)WRITEME: Document this method brpocock@star-hope.org | 
|  PlebeianTestClause | addVerbProposition(String v)add a verb proposition to this test clause | 
|  String | getAccusative() | 
|  String | getDative() | 
|  String | getLocative() | 
|  String | getNominative() | 
|  String | getVerb() | 
|  boolean | matches(Action a,
        AbstractUser whoAmI)determine whether this test clause matches a given action | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private final String accusative
private final String dative
private final String locative
private final String nominative
private final String verb
| Constructor Detail | 
|---|
public PlebeianTestClause()
public PlebeianTestClause(String v,
                          String nom,
                          String acc,
                          String dat,
                          String loc)
v - WRITEMEnom - WRITEMEacc - WRITEMEdat - WRITEMEloc - WRITEME| Method Detail | 
|---|
public PlebeianTestClause addAccusativeProposition(String acc)
acc - WRITEME
public PlebeianTestClause addDativeProposition(String dat)
dat - WRITEME
public PlebeianTestClause addLocativeProposition(String loc)
loc - WRITEME
public PlebeianTestClause addNominativeProposition(String nom)
nom - WRITEME
public PlebeianTestClause addVerbProposition(String v)
v - verb
public String getAccusative()
public String getDative()
public String getLocative()
public String getNominative()
public String getVerb()
public boolean matches(Action a,
                       AbstractUser whoAmI)
a - some actionwhoAmI - WRITEME
public String toString()
toString in class ObjectObject.toString()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||