public abstract class AbstractRuntimeDataVerifier extends java.lang.Object implements Verifier
| Modifier and Type | Field and Description |
|---|---|
protected RuntimeDataInterface |
runtime |
BOOL_MATCH_ALL_FIELDS, BOOL_VALUE_CASESENSITIVE, BOOL_VALUE_CONTAINS| Constructor and Description |
|---|
AbstractRuntimeDataVerifier(RuntimeDataInterface runtime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validate(Persistable persistable)
Check if this Persistable object is valid (not null, not disabled etc.).
|
void |
verify(Persistable persistable,
boolean... conditions)
Verify a Persistable object against the contents stored in a persistence substance.
|
protected RuntimeDataInterface runtime
public AbstractRuntimeDataVerifier(RuntimeDataInterface runtime)
public void verify(Persistable persistable, boolean... conditions) throws SAFSException
Verifierverify in interface Verifierpersistable - Persistable, the object to verifyconditions - boolean..., the boolean array to control the verification.
such as
SAFSException - when something wrong happens.protected void validate(Persistable persistable) throws SAFSException
persistable - Persistable, the object to persistSAFSException - if the persistable is null or is not enabledCopyright © SAS Institute. All Rights Reserved.