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:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(SearchResponse searchResponse) { ToStringBuilder toStringBuilder = new ToStringBuilder(searchResponse, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("psos", searchResponse.getPSOs().length); toStringBuilder.appendSuper(PSPUtil.toString((Response) searchResponse)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(AddResponse addResponse) { ToStringBuilder toStringBuilder = new ToStringBuilder(addResponse, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("pso", PSPUtil.toString(addResponse.getPso())); toStringBuilder.appendSuper(PSPUtil.toString((Response) addResponse)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(LookupResponse lookupResponse) { ToStringBuilder toStringBuilder = new ToStringBuilder(lookupResponse, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("pso", PSPUtil.toString(lookupResponse.getPso())); toStringBuilder.appendSuper(PSPUtil.toString((Response) lookupResponse)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(ModifyResponse modifyResponse) { ToStringBuilder toStringBuilder = new ToStringBuilder(modifyResponse, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("pso", PSPUtil.toString(modifyResponse.getPso())); toStringBuilder.appendSuper(PSPUtil.toString((Response) modifyResponse)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(DeleteRequest deleteRequest) { ToStringBuilder toStringBuilder = new ToStringBuilder(deleteRequest, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("psoID", PSPUtil.toString(deleteRequest.getPsoID())); toStringBuilder.append("recursive", deleteRequest.isRecursive()); toStringBuilder.appendSuper(PSPUtil.toString((Request) deleteRequest)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(AddRequest addRequest) { ToStringBuilder toStringBuilder = new ToStringBuilder(addRequest, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("psoID", PSPUtil.toString(addRequest.getPsoID())); toStringBuilder.append("targetID", addRequest.getTargetId()); toStringBuilder.append("returnData", addRequest.getReturnData()); toStringBuilder.appendSuper(PSPUtil.toString((Request) addRequest)); return toStringBuilder.toString(); }
From source file:edu.internet2.middleware.psp.util.PSPUtil.java
public static String toString(SearchRequest searchRequest) { ToStringBuilder toStringBuilder = new ToStringBuilder(searchRequest, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.append("query", PSPUtil.toString(searchRequest.getQuery())); toStringBuilder.append("returnData", searchRequest.getReturnData()); toStringBuilder.append("maxSelect", searchRequest.getMaxSelect()); toStringBuilder.appendSuper(PSPUtil.toString((Request) searchRequest)); return toStringBuilder.toString(); }
From source file:com.funambol.ctp.core.Bye.java
/** * Returns a string representation of the object. * @return a string representation of the object. *///from w ww . ja v a 2s . com public String toString() { ToStringBuilder sb = new ToStringBuilder(this); sb.appendSuper(super.toString()); return sb.toString(); }
From source file:edu.internet2.middleware.psp.spml.request.CalcResponse.java
@Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); toStringBuilder.appendSuper(super.toString()); for (PSO pso : this.getPSOs()) { toStringBuilder.append("pso", PSPUtil.toString(pso)); }/*w w w . j a va 2 s .com*/ return toStringBuilder.toString(); }
From source file:it.filosganga.mobile.widgets.component.TableColumn.java
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this); builder.appendSuper(super.toString()); builder.append(label).append(shortLabel).append(colspan); return builder.toString(); }