public static boolean isEmpty(CTTextboxTightWrap textboxTightWrap) { return (textboxTightWrap == null) || (textboxTightWrap.getVal() == null); }
public static boolean areEqual(CTTextboxTightWrap textboxTightWrap1, CTTextboxTightWrap textboxTightWrap2) { return (textboxTightWrap1 == textboxTightWrap2) || ((textboxTightWrap1 != null) && (textboxTightWrap2 != null) && ((textboxTightWrap1.getVal() == textboxTightWrap2.getVal()) || ((textboxTightWrap1.getVal() != null) && (textboxTightWrap1.getVal().equals(textboxTightWrap2.getVal())) ) ) ); }
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 static boolean isEmpty(CTTextboxTightWrap textboxTightWrap) { return (textboxTightWrap == null) || (textboxTightWrap.getVal() == null); }
public static boolean areEqual(CTTextboxTightWrap textboxTightWrap1, CTTextboxTightWrap textboxTightWrap2) { return (textboxTightWrap1 == textboxTightWrap2) || ((textboxTightWrap1 != null) && (textboxTightWrap2 != null) && ((textboxTightWrap1.getVal() == textboxTightWrap2.getVal()) || ((textboxTightWrap1.getVal() != null) && (textboxTightWrap1.getVal().equals(textboxTightWrap2.getVal())) ) ) ); }
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; }