public MoneyQuantity copy() { MoneyQuantity dst = new MoneyQuantity(); copyValues(dst); dst.value = value == null ? null : value.copy(); dst.comparator = comparator == null ? null : comparator.copy(); dst.unit = unit == null ? null : unit.copy(); dst.system = system == null ? null : system.copy(); dst.code = code == null ? null : code.copy(); return dst; }
@Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; if (!(other_ instanceof MoneyQuantity)) return false; MoneyQuantity o = (MoneyQuantity) other_; return compareDeep(value, o.value, true) && compareDeep(comparator, o.comparator, true) && compareDeep(unit, o.unit, true) && compareDeep(system, o.system, true) && compareDeep(code, o.code, true); }
@Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; if (!(other_ instanceof MoneyQuantity)) return false; MoneyQuantity o = (MoneyQuantity) other_; return compareValues(value, o.value, true) && compareValues(comparator, o.comparator, true) && compareValues(unit, o.unit, true) && compareValues(system, o.system, true) && compareValues(code, o.code, true); }
return new Meta(); if ("MoneyQuantity".equals(name)) return new MoneyQuantity(); if ("Address".equals(name)) return new Address();
protected MoneyQuantity typedCopy() { return copy(); }
return new Meta(); if ("MoneyQuantity".equals(name)) return new MoneyQuantity(); if ("Address".equals(name)) return new Address();
protected MoneyQuantity typedCopy() { return copy(); }
public MoneyQuantity copy() { MoneyQuantity dst = new MoneyQuantity(); copyValues(dst); dst.value = value == null ? null : value.copy(); dst.comparator = comparator == null ? null : comparator.copy(); dst.unit = unit == null ? null : unit.copy(); dst.system = system == null ? null : system.copy(); dst.code = code == null ? null : code.copy(); return dst; }
case -1839726095: return new MolecularSequence(); case 74526880: return new Money(); case 977885515: return new MoneyQuantity(); case 369315063: return new NamingSystem(); case -540546990: return new Narrative();
@Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; if (!(other_ instanceof MoneyQuantity)) return false; MoneyQuantity o = (MoneyQuantity) other_; return compareValues(value, o.value, true) && compareValues(comparator, o.comparator, true) && compareValues(unit, o.unit, true) && compareValues(system, o.system, true) && compareValues(code, o.code, true); }
@Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; if (!(other_ instanceof MoneyQuantity)) return false; MoneyQuantity o = (MoneyQuantity) other_; return compareDeep(value, o.value, true) && compareDeep(comparator, o.comparator, true) && compareDeep(unit, o.unit, true) && compareDeep(system, o.system, true) && compareDeep(code, o.code, true); }
case -1839726095: return new MolecularSequence(); case 74526880: return new Money(); case 977885515: return new MoneyQuantity(); case 369315063: return new NamingSystem(); case -540546990: return new Narrative();