public Range copy() { Range dst = new Range(); copyValues(dst); dst.low = low == null ? null : low.copy(); dst.high = high == null ? null : high.copy(); return dst; }
public SubstanceInstanceComponent copy() { SubstanceInstanceComponent dst = new SubstanceInstanceComponent(); copyValues(dst); dst.identifier = identifier == null ? null : identifier.copy(); dst.expiry = expiry == null ? null : expiry.copy(); dst.quantity = quantity == null ? null : quantity.copy(); return dst; }
public SampledData copy() { SampledData dst = new SampledData(); copyValues(dst); dst.origin = origin == null ? null : origin.copy(); dst.period = period == null ? null : period.copy(); dst.factor = factor == null ? null : factor.copy(); dst.lowerLimit = lowerLimit == null ? null : lowerLimit.copy(); dst.upperLimit = upperLimit == null ? null : upperLimit.copy(); dst.dimensions = dimensions == null ? null : dimensions.copy(); dst.data = data == null ? null : data.copy(); return dst; }
public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (expiry == null || expiry.isEmpty()) && (quantity == null || quantity.isEmpty()); }