public boolean hasPrecision() { if (this.precision == null) return false; for (DecimalType item : this.precision) if (!item.isEmpty()) return true; return false; }
public boolean hasFMeasure() { if (this.fMeasure == null) return false; for (DecimalType item : this.fMeasure) if (!item.isEmpty()) return true; return false; }
public boolean hasSensitivity() { if (this.sensitivity == null) return false; for (DecimalType item : this.sensitivity) if (!item.isEmpty()) return true; return false; }
public boolean hasValue() { return this.value != null && !this.value.isEmpty(); }
public boolean hasLongitude() { return this.longitude != null && !this.longitude.isEmpty(); }
public boolean hasPeriod() { return this.period != null && !this.period.isEmpty(); }
public boolean hasUpperLimitElement() { return this.upperLimit != null && !this.upperLimit.isEmpty(); }
public boolean hasSphere() { return this.sphere != null && !this.sphere.isEmpty(); }
public boolean hasPowerElement() { return this.power != null && !this.power.isEmpty(); }
public boolean hasPower() { return this.power != null && !this.power.isEmpty(); }
public boolean hasBackCurve() { return this.backCurve != null && !this.backCurve.isEmpty(); }
public boolean hasScoreElement() { return this.score != null && !this.score.isEmpty(); }
public boolean hasDurationElement() { return this.duration != null && !this.duration.isEmpty(); }
public boolean hasDuration() { return this.duration != null && !this.duration.isEmpty(); }
public boolean hasFactor() { return this.factor != null && !this.factor.isEmpty(); }
public boolean hasPointsElement() { return this.points != null && !this.points.isEmpty(); }
public boolean hasValueElement() { return this.value != null && !this.value.isEmpty(); }
public boolean hasConversionFactorElement() { return this.conversionFactor != null && !this.conversionFactor.isEmpty(); }
public boolean hasValue() { return this.value != null && !this.value.isEmpty(); }
private void addQuantity(ResourceTable theEntity, HashSet<ResourceIndexedSearchParamQuantity> retVal, String resourceName, Quantity nextValue) { if (!nextValue.getValueElement().isEmpty()) { BigDecimal nextValueValue = nextValue.getValueElement().getValue(); String nextValueString = nextValue.getSystemElement().getValueAsString(); String nextValueCode = nextValue.getCode(); ResourceIndexedSearchParamQuantity nextEntity = new ResourceIndexedSearchParamQuantity(resourceName, nextValueValue, nextValueString, nextValueCode); nextEntity.setResource(theEntity); retVal.add(nextEntity); } }