List of usage examples for org.apache.commons.lang.builder ToStringBuilder ToStringBuilder
public ToStringBuilder(Object object, ToStringStyle style)
Constructor for ToStringBuilder
specifying the output style.
If the style is null
, the default style is used.
From source file:be.wimsymons.intellij.polopolyimport.Target.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("profile", profile) .append("url", url).append("user", user).append("password", password).append("confirm", confirm) .toString();/*from w ww. j av a 2 s. c o m*/ }
From source file:com.photon.phresco.service.model.ArtifactInfo.java
public String toString() { return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append(super.toString()) .append("groupId", groupId).append("artifact", artifact).append("classifier", classifier) .append("pack", pack).append("version", version).append("pomFile", pomFile).toString(); }
From source file:edu.ksu.cis.indus.slicer.ExprLevelSliceCriterion.java
/** * @see java.lang.Object#toString()//from www . ja va 2 s . c o m */ @Override public String toString() { return new ToStringBuilder(this, CustomToStringStyle.HASHCODE_AT_END_STYLE).appendSuper(super.toString()) .append("stmt", this.stmt).append("expr", this.expr).toString(); }
From source file:de.iteratec.iteraplan.businesslogic.exchange.legacyExcel.importer.DateAttData.java
/** * {@inheritDoc}//from w w w . j a v a2s .c o m */ @Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("name", getName().getAttributeValue()); toStringBuilder.append("oldName", getOldName().getAttributeValue()); toStringBuilder.append("description", getDescription().getAttributeValue()); toStringBuilder.append("groupName", getGroupName().getAttributeValue()); toStringBuilder.append("mandatory", getMandatory().getAttributeValue()); toStringBuilder.append("active", getActive().getAttributeValue()); return toStringBuilder.toString(); }
From source file:com.cubeia.backoffice.users.entity.UserAttribute.java
@Override public String toString() { return new ToStringBuilder(this, SHORT_PREFIX_STYLE).append("id", getId()).append("value", getValue()) .toString();// w w w . j a v a 2 s . com }
From source file:edu.utah.further.core.util.composite.ResultImpl.java
/** * Print debugging information on the message. * * @return debugging information on the message * @see java.lang.Object#toString()//from www. j a v a 2 s.c o m */ @Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, SHORT_WITH_SPACES_STYLE).append("data", data); return builder.toString(); }
From source file:com.adaptris.core.interceptor.MessageStatistic.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("StartMillis", getStartMillis()) .append("EndMillis", getEndMillis()).append("TotalMessageCount", getTotalMessageCount()) .append("TotalMessageErrorCount", getTotalMessageErrorCount()) .append("TotalMessageSize", getTotalMessageSize()).toString(); }
From source file:jp.co.opentone.bsol.linkbinder.dto.AbstractDto.java
@Override public String toString() { // ????????// www . j a va2 s . co m ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE); try { for (Field field : getFields(this.getClass())) { if (isToStringIgnoreField(field.getName())) { continue; } // ???ON???? field.setAccessible(true); tsb.append(field.getName(), field.get(this)); } } catch (IllegalArgumentException e) { log.warn(e.getMessage(), e); } catch (IllegalAccessException e) { log.warn(e.getMessage(), e); } // ????????????? // Object?ID??? return removeObjectId(tsb.toString()); }
From source file:com.iggroup.oss.restdoclet.doclet.type.RestParameter.java
/** * {@inheritDoc}/*w ww.j a va2s .c om*/ */ @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(super.toString()) .append("value", value).toString(); }
From source file:com.vladmihalcea.mongo.model.Product.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", _id).append("name", name) .toString();// ww w . java 2s . c o m }