List of usage examples for org.apache.commons.lang3.builder ToStringStyle DEFAULT_STYLE
ToStringStyle DEFAULT_STYLE
To view the source code for org.apache.commons.lang3.builder ToStringStyle DEFAULT_STYLE.
Click Source Link
From source file:com.github.woki.payments.adyen.model.TokenDetails.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("tokenDataType", tokenDataType) .append("tokenData", tokenData).toString(); }
From source file:com.github.woki.payments.adyen.model.ELV.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("bankAccountNumber", bankAccountNumber) .append("bankLocationId", bankLocationId).append("bankName", bankName) .append("bankLocation", bankLocation).append("accountHolderName", accountHolderName).toString(); }
From source file:com.github.woki.payments.adyen.model.RecurringDisableResponse.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("details", details) .append("response", response).toString(); }
From source file:com.github.woki.payments.adyen.model.RecurringListDetailsResponse.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("creationDate", creationDate) .append("lastKnownShopperEmail", lastKnownShopperEmail).append("shopperReference", shopperReference) .append("details", details).toString(); }
From source file:com.github.woki.payments.adyen.model.RecurringListDetailsRequest.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("merchantAccount", merchantAccount) .append("contract", contract).append("shopperReference", shopperReference).toString(); }
From source file:com.github.woki.payments.adyen.model.RecurringDetail.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE) .append("recurringDetailReference", recurringDetailReference).append("name", name) .append("variant", variant).append("paymentMethodVariant", paymentMethodVariant) .append("card", card).append("elv", elv).append("bank", bank).append("tokenDetails", tokenDetails) .append("shopperName", shopperName).append("socialSecurityNumber", socialSecurityNumber) .append("billingAddress", billingAddress).append("alias", alias).append("aliasType", aliasType) .append("firstPspReference", firstPspReference).append("creationDate", creationDate) .append("additionalData", additionalData).append("contractTypes", contractTypes) .append("acquirer", acquirer).append("acquirerAccount", acquirerAccount).toString(); }
From source file:de.softmetz.commons.ddd.shared.vo.AbstractCompoundValueObject.java
@Override public String toString() { return ToStringBuilder.reflectionToString((VO) this, ToStringStyle.DEFAULT_STYLE, false, _CONCRETE_CLASS); }
From source file:com.fasheng.service.model.BaseDO.java
/** * @see java.lang.Object#toString() */ public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE); }
From source file:com.catalog.repository.dao.ArticleDaoImpl.java
@Override public void updateArticle(Article article) throws DaoException { LOGGER.debug("Updating article"); Article updateArticle = getArticle(article.getId()); if (updateArticle != null) { updateArticle.setName(article.getName()); updateArticle.setBarcode(article.getBarcode()); updateArticle.setCreatedDate(article.getCreatedDate()); updateArticle.setDeletedDate(article.getDeletedDate()); updateArticle.setPhasedOutDate(article.getPhasedOutDate()); updateArticle.setLongDescription(article.getLongDescription()); updateArticle.setShortDescription(article.getShortDescription()); updateArticle.setPrice(article.getPrice()); getCurrentSession().update(updateArticle); } else {//from w ww. jav a2s . c o m String articleString = ReflectionToStringBuilder.toString(article, ToStringStyle.DEFAULT_STYLE); LOGGER.error("Article to update not found: {}", articleString); throw new DaoException("Article to update not found: " + articleString); } }
From source file:com.catalog.repository.dao.ApplicationUserDaoImpl.java
@Override public void updateApplicationUser(ApplicationUser user) throws DaoException { LOGGER.debug("Updating application user"); ApplicationUser userToUpdate = getApplicationUser(user.getId()); if (userToUpdate != null) { userToUpdate.setFirstName(user.getFirstName()); userToUpdate.setGender(user.getGender()); userToUpdate.setLastName(user.getLastName()); userToUpdate.setPassword(user.getPassword()); userToUpdate.setEmailAddress(user.getEmailAddress()); userToUpdate.setAge(user.getAge()); getCurrentSession().update(userToUpdate); } else {/*from w w w.ja va 2 s.c om*/ String userString = ReflectionToStringBuilder.toString(user, ToStringStyle.DEFAULT_STYLE); LOGGER.error("User to update not found: {}", userString); throw new DaoException("User to update not found: " + userString); } }