public class ValidationFunctions
extends java.lang.Object
| Constructor and Description |
|---|
ValidationFunctions() |
| Modifier and Type | Method and Description |
|---|---|
RecordHolder |
findTag(ExecutionContext ctx,
java.lang.String name)
Finds a tag by a given name which can be a simple name or full name.
|
ListHolder |
validate(ExecutionContext ctx,
CollectionHolder collection,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given collection of records.
|
ListHolder |
validate(ExecutionContext ctx,
RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
public ListHolder validate(ExecutionContext ctx, RecordHolder record, Property property, CollectionHolder tags, MapHolder context) throws ErrorException
ctx - record - property - tags - context - ErrorExceptionpublic ListHolder validate(ExecutionContext ctx, CollectionHolder collection, Property property, CollectionHolder tags, MapHolder context) throws ErrorException
ctx - collection - property - tags - context - ErrorExceptionpublic RecordHolder findTag(ExecutionContext ctx, java.lang.String name) throws ErrorException
null if the tag is not found. If the simple name is
given and it is ambiguous, an exception is thrown.ctx - name - nullErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.