Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 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;
 }
Exemple #4
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (expiry == null || expiry.isEmpty())
       && (quantity == null || quantity.isEmpty());
 }