public KahaTransactionInfo mergeFrom(KahaTransactionInfo other) { if (other.hasLocalTransactionId()) { if (hasLocalTransactionId()) { getLocalTransactionId().mergeFrom(other.getLocalTransactionId()); } else { setLocalTransactionId(other.getLocalTransactionId().clone()); } } if (other.hasXaTransactionId()) { if (hasXaTransactionId()) { getXaTransactionId().mergeFrom(other.getXaTransactionId()); } else { setXaTransactionId(other.getXaTransactionId().clone()); } } if (other.hasPreviousEntry()) { if (hasPreviousEntry()) { getPreviousEntry().mergeFrom(other.getPreviousEntry()); } else { setPreviousEntry(other.getPreviousEntry().clone()); } } return this; }
public KahaTransactionInfo mergeFrom(KahaTransactionInfo other) { if (other.hasLocalTransactionId()) { if (hasLocalTransactionId()) { getLocalTransactionId().mergeFrom(other.getLocalTransactionId()); } else { setLocalTransactionId(other.getLocalTransactionId().clone()); } } if (other.hasXaTransactionId()) { if (hasXaTransactionId()) { getXaTransactionId().mergeFrom(other.getXaTransactionId()); } else { setXaTransactionId(other.getXaTransactionId().clone()); } } if (other.hasPreviousEntry()) { if (hasPreviousEntry()) { getPreviousEntry().mergeFrom(other.getPreviousEntry()); } else { setPreviousEntry(other.getPreviousEntry().clone()); } } return this; }
public KahaTransactionInfo mergeFrom(KahaTransactionInfo other) { if (other.hasLocalTransacitonId()) { if (hasLocalTransacitonId()) { getLocalTransacitonId().mergeFrom(other.getLocalTransacitonId()); } else { setLocalTransacitonId(other.getLocalTransacitonId().clone()); } } if (other.hasXaTransacitonId()) { if (hasXaTransacitonId()) { getXaTransacitonId().mergeFrom(other.getXaTransacitonId()); } else { setXaTransacitonId(other.getXaTransacitonId().clone()); } } if (other.hasPreviousEntry()) { if (hasPreviousEntry()) { getPreviousEntry().mergeFrom(other.getPreviousEntry()); } else { setPreviousEntry(other.getPreviousEntry().clone()); } } return this; }
public KahaTransactionInfo mergeFrom(KahaTransactionInfo other) { if (other.hasLocalTransactionId()) { if (hasLocalTransactionId()) { getLocalTransactionId().mergeFrom(other.getLocalTransactionId()); } else { setLocalTransactionId(other.getLocalTransactionId().clone()); } } if (other.hasXaTransactionId()) { if (hasXaTransactionId()) { getXaTransactionId().mergeFrom(other.getXaTransactionId()); } else { setXaTransactionId(other.getXaTransactionId().clone()); } } if (other.hasPreviousEntry()) { if (hasPreviousEntry()) { getPreviousEntry().mergeFrom(other.getPreviousEntry()); } else { setPreviousEntry(other.getPreviousEntry().clone()); } } return this; }