public interface CriteriaNode extends Criteria
Modifier and Type | Method and Description |
---|---|
void |
addChild(Criteria aChild)
Adds a child
Criteria to the CriteriaNode . |
List<Criteria> |
getChildren()
Returns the list of child
Criteria instances contained in the
CriteriaNode . |
List<Criteria> getChildren()
Criteria
instances contained in the
CriteriaNode
.Criteria
instances contained in the
CriteriaNode
.void addChild(Criteria aChild) throws IllegalStateException, IllegalArgumentException
Criteria
to the CriteriaNode
. In case a
specialized CriteriaNode
applies constraints on the number or
type of Criteria
which may be added, an according exception may
be thrown. For example the SingleCriteriaNode
applies constraints
on this method.aChild
- The child Criteria
to be added.IllegalStateException
- In case constraints in terms of state are
violated, implementation depended.IllegalArgumentException
- In case constraints in terms of argument
are violated, implementation depended.Copyright © 2015. All rights reserved.