|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.AbstractRecord
Record implementation providing the std error handling. Just a convenience class.
Field Summary | |
static java.lang.String |
DEFAULT_SEPARATOR
the default separator used between fields |
Constructor Summary | |
AbstractRecord()
default constructor |
Method Summary | |
void |
addError(Error error)
Add error to this record. |
java.util.List |
getErrors()
Return the list of errors attached to this record. |
boolean |
isErrored()
Is the Record in an errored state. |
boolean |
isValid()
Is the Record valid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.rhi.architecture.parc.Record |
getSourceKey, toString |
Field Detail |
public static final java.lang.String DEFAULT_SEPARATOR
Constructor Detail |
public AbstractRecord()
Method Detail |
public boolean isValid()
isValid
in interface Record
public boolean isErrored()
isErrored
in interface Record
public java.util.List getErrors()
getErrors
in interface Record
public void addError(Error error)
addError
in interface Record
error
- msg
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |