public class EmptyResult extends Result
Result.Datatype
Constructor and Description |
---|
EmptyResult() |
Modifier and Type | Method and Description |
---|---|
void |
add(int arg0,
Result arg1) |
boolean |
add(Result value) |
boolean |
addAll(java.util.Collection<? extends Result> newValues) |
boolean |
addAll(int index,
java.util.Collection<? extends Result> newValues) |
void |
clear() |
boolean |
isEmpty() |
boolean |
isNull() |
Result |
remove(int index) |
boolean |
remove(java.lang.Object value) |
boolean |
removeAll(java.util.Collection<?> c) |
Result |
set(int index,
Result element) |
java.lang.Boolean |
toBoolean() |
contains, contains, containsConcept, earliest, emptyResult, equals, exists, get, getDatatype, getResultDate, getResultObject, gt, latest, nullResult, setDatatype, setResultDate, setResultObject, setValueBoolean, setValueCoded, setValueDatetime, setValueNumeric, setValueNumeric, setValueText, toConcept, toDatetime, toNumber, toObject, toString, unique
clone, contains, ensureCapacity, forEach, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
public void add(int arg0, Result arg1)
public boolean add(Result value)
public boolean addAll(java.util.Collection<? extends Result> newValues)
public boolean addAll(int index, java.util.Collection<? extends Result> newValues)
public void clear()
public boolean isEmpty()
public java.lang.Boolean toBoolean()
toBoolean
in class Result
Datatype | Returns |
CODED | false for concept FALSE true for all others |
DATETIME | true for any date value false if the date is null |
NUMERIC | true for any non-zero number false for zero |
TEXT | true for any non-blank value false if blank or null |
Result.toBoolean()
public boolean isNull()
isNull
in class Result
Result.isNull()
public Result remove(int index)
public boolean remove(java.lang.Object value)
public boolean removeAll(java.util.Collection<?> c)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.