|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.daisy.zedval.engine.ZedTest
A ZedTest
object represents a single validation test from the
testMap.
Field Summary | |
static int |
RECOMMENDATION
|
static int |
REQUIREMENT
|
Constructor Summary | |
ZedTest(java.lang.String id,
java.lang.String description,
int type,
java.util.HashMap onFalseMsgs,
java.lang.String specRef)
|
Method Summary | |
java.lang.String |
getDescription()
Returns a description of test |
java.lang.String |
getId()
Returns id of test from testMap document |
java.util.HashMap |
getOnFalseMsgs()
Returns a HashMap of messages to be used in case of test failure |
ZedTestProcessor |
getProcessedBy()
Returns the ZedTestProcessor that executes this test |
java.lang.String |
getSpecRef()
Returns a reference to the applicable section of the Z39.86 specification |
int |
getType()
Returns the type of test (requirement or recommendation) |
void |
setProcessedBy(ZedTestProcessor aTP)
Sets up a pointer to the ZedTestProcessor that executes this test |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int REQUIREMENT
public static final int RECOMMENDATION
Constructor Detail |
public ZedTest(java.lang.String id, java.lang.String description, int type, java.util.HashMap onFalseMsgs, java.lang.String specRef)
id
- id from testMap documentdescription
- description of testtype
- test type (REQUIREMENT or RECOMMENDATION)onFalseMsgs
- ZedMessages to print on failurespecRef
- URL of specification referenceMethod Detail |
public java.lang.String getId()
public java.lang.String getDescription()
public int getType()
public java.util.HashMap getOnFalseMsgs()
public java.lang.String getSpecRef()
public void setProcessedBy(ZedTestProcessor aTP)
public ZedTestProcessor getProcessedBy()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |