public GroupCharacteristicComponent copy() { GroupCharacteristicComponent dst = new GroupCharacteristicComponent(); copyValues(dst); dst.code = code == null ? null : code.copy(); dst.value = value == null ? null : value.copy(); dst.exclude = exclude == null ? null : exclude.copy(); dst.period = period == null ? null : period.copy(); return dst; }