List of usage examples for org.apache.commons.lang.builder ToStringBuilder appendSuper
public ToStringBuilder appendSuper(String superToString)
Append the toString
from the superclass.
This method assumes that the superclass uses the same ToStringStyle
as this one.
If superToString
is null
, no change is made.
From source file:it.filosganga.mobile.widgets.component.TableCell.java
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this); builder.appendSuper(super.toString()); builder.append(summary);// ww w . ja v a2 s . c o m builder.append(colspan); return builder.toString(); }
From source file:it.filosganga.mobile.widgets.component.TableHeader.java
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this); builder.appendSuper(super.toString()); builder.append(columns);/*from w ww.ja va2s . c o m*/ return builder.toString(); }
From source file:com.funambol.ctp.core.Error.java
/** * Returns a string representation of the object. * @return a string representation of the object. *//*www.ja v a2 s .c o m*/ public String toString() { ToStringBuilder sb = new ToStringBuilder(this); sb.appendSuper(super.toString()); sb.append(PARAM_DESCRIPTION, description); return sb.toString(); }
From source file:com.funambol.ctp.core.Sync.java
/** * Returns a string representation of the object. * @return a string representation of the object. */// w ww . j a v a 2 s . co m public String toString() { ToStringBuilder sb = new ToStringBuilder(this); sb.appendSuper(super.toString()); sb.append(PARAM_SAN, notificationMessage); return sb.toString(); }
From source file:com.funambol.ctp.core.NotAuthenticated.java
/** * Returns a string representation of the object. * @return a string representation of the object. *//*from w w w . j a v a 2 s .co m*/ @Override public String toString() { StringBuilder tmp = new StringBuilder(); tmp.append(PARAM_NONCE).append("(B64)"); ToStringBuilder sb = new ToStringBuilder(this); sb.appendSuper(super.toString()); sb.append(PARAM_NONCE, nonce != null ? DbgTools.bytesToHex(nonce) : nonce); sb.append(tmp.toString(), nonce != null ? new String(Base64.encode(nonce)) : nonce); return sb.toString(); }
From source file:edu.internet2.middleware.psp.spml.request.BulkCalcResponse.java
@Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.appendSuper(super.toString()); toStringBuilder.append("responses", this.getResponses().size()); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.spml.request.BulkProvisioningRequest.java
public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.appendSuper(super.toString()); toStringBuilder.append("onError", this.getOnError()); toStringBuilder.append("returnDiffResponses", this.returnDiffResponses()); toStringBuilder.append("returnSyncResponses", this.returnSyncResponses()); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.spml.request.ProvisioningResponse.java
@Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("id", this.getId()); toStringBuilder.appendSuper(PSPUtil.toString((Response) this)); return toStringBuilder.toString(); }
From source file:com.funambol.ctp.core.Jump.java
/** * Returns a string representation of the object. * @return a string representation of the object. *//* w ww . j av a 2 s.c om*/ public String toString() { ToStringBuilder sb = new ToStringBuilder(this); sb.appendSuper(super.toString()); sb.append(PARAM_FROM, from); sb.append(PARAM_TO, to); return sb.toString(); }
From source file:edu.internet2.middleware.psp.spml.request.SynchronizedResponse.java
@Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("psoID", PSPUtil.toString(this.getPsoID())); toStringBuilder.appendSuper(super.toString()); return toStringBuilder.toString(); }