public class CandidateFieldImpl extends BaseValueAccessor<Set<String>,List<String>> implements CandidateField
| Constructor and Description |
|---|
CandidateFieldImpl(String name,
IdentityLinkType identityLinkType) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
containsAnyOf(Collection<String> possibleCandidates)
Builds a predicate which tests that the value of this operand contains any of the given
possibleCandidates. |
Predicate |
containsAnyOf(String possibleCandidate)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate. |
Predicate |
containsAnyOf(String possibleCandidate1,
String possibleCandidate2)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 or possibleCandidate2. |
Predicate |
containsAnyOf(String possibleCandidate1,
String possibleCandidate2,
String possibleCandidate3)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1, possibleCandidate2, or
possibleCandidate3 |
Predicate |
containsAnyOf(String possibleCandidate1,
String possibleCandidate2,
String possibleCandidate3,
String... morePossibleCandidates)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1, possibleCandidate2,
possibleCandidate3, or any of morePossibleCandidates. |
Predicate |
isEmpty()
Builds a predicate which tests that the value of this operand contains no candidates.
|
getName, getValueConverterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValueConverterpublic CandidateFieldImpl(String name, IdentityLinkType identityLinkType)
public Predicate containsAnyOf(String possibleCandidate)
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains the given possibleCandidate.
containsAnyOf in interface CandidateFieldOperandpossibleCandidate - the expected candidatepublic Predicate containsAnyOf(String possibleCandidate1, String possibleCandidate2)
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains the given possibleCandidate1 or possibleCandidate2.
containsAnyOf in interface CandidateFieldOperandpossibleCandidate1 - the first possible candidatepossibleCandidate2 - the second possible candidatepublic Predicate containsAnyOf(String possibleCandidate1, String possibleCandidate2, String possibleCandidate3)
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains the given possibleCandidate1, possibleCandidate2, or
possibleCandidate3
containsAnyOf in interface CandidateFieldOperandpossibleCandidate1 - the first possible candidatepossibleCandidate2 - the second possible candidatepossibleCandidate3 - the third possible candidate@SafeVarargs public final Predicate containsAnyOf(String possibleCandidate1, String possibleCandidate2, String possibleCandidate3, String... morePossibleCandidates)
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains the given possibleCandidate1, possibleCandidate2,
possibleCandidate3, or any of morePossibleCandidates.
containsAnyOf in interface CandidateFieldOperandpossibleCandidate1 - the first possible candidatepossibleCandidate2 - the second possible candidatepossibleCandidate3 - the third possible candidatemorePossibleCandidates - more possible candidatespublic Predicate containsAnyOf(Collection<String> possibleCandidates)
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains any of the given possibleCandidates.
containsAnyOf in interface CandidateFieldOperandpossibleCandidates - the possible candidates (tested with OR semantics)public Predicate isEmpty()
CandidateFieldOperandBuilds a predicate which tests that the value of this operand contains no candidates.
isEmpty in interface CandidateFieldOperandCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.