protected virtual EXPR_ITEM CloneExprItem(openehr.openehr.am.archetype.assertion.EXPR_UNARY_OPERATOR o) { EXPR_UNARY_OPERATOR result = new EXPR_UNARY_OPERATOR(); if (o.type() != null) result.type = o.type().ToString(); if (o.@operator().value() >= 2001 && o.@operator().value() <= 2020) result.@operator = ((OPERATOR_KIND)o.@operator().value()) - 2001; result.precedence_overridden = o.precedence_overridden(); if (o.operand() != null) result.operand = CloneExprItem(o.operand()); return result; }