public static CTTextboxTightWrap apply(CTTextboxTightWrap source, CTTextboxTightWrap destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createCTTextboxTightWrap(); destination.setVal(source.getVal()); //enum } return destination; }
public CTTextboxTightWrap getCopy(CTTextboxTightWrap copy, boolean whenNull) { if (copy != null) { CTTextboxTightWrap result = myFactory.createCTTextboxTightWrap(); result.setVal(copy.getVal()); return result; } if (whenNull) { return myFactory.createCTTextboxTightWrap(); } return null; }
public CTTextboxTightWrap keepDiff(CTTextboxTightWrap orig, CTTextboxTightWrap from) { if (from != null && orig != null) { if (orig.getVal() != null && from.getVal() != null && orig.getVal().compareTo(from.getVal()) == 0) orig.setVal(null); } return StyleUtil.isEmpty(orig) ? null : orig; }
public static CTTextboxTightWrap apply(CTTextboxTightWrap source, CTTextboxTightWrap destination) { if (!isEmpty(source)) { if (destination == null) destination = Context.getWmlObjectFactory().createCTTextboxTightWrap(); destination.setVal(source.getVal()); //enum } return destination; }