Example usage for org.apache.commons.lang.builder ToStringBuilder append

List of usage examples for org.apache.commons.lang.builder ToStringBuilder append

Introduction

In this page you can find the example usage for org.apache.commons.lang.builder ToStringBuilder append.

Prototype

public ToStringBuilder append(String fieldName, short[] array) 

Source Link

Document

Append to the toString a short array.

Usage

From source file:com.enonic.cms.core.content.index.ContentIndexQuery.java

@Override
public String toString() {
    ToStringBuilder s = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    s.append("index", index);
    s.append("count", count);
    s.append("query", query);
    s.append("categoryAccessTypeFilter", categoryAccessTypeFilter);
    s.append("approvedSectionContentOnly", sectionFilterStatus);
    s.append("contentStatusFilter", contentStatusFilter);
    s.append("contentOnlineAtFilter", contentOnlineAtFilter);
    s.append("contentFilter", contentFilter);
    s.append("sectionFilter", sectionFilter);
    s.append("categoryFilter", getCategoryFilter());
    s.append("contentTypeFilter", getContentTypeFilter());
    s.append("securityFilter", getSecurityFilter());
    s.append("orderBySection", orderBySection);
    s.append("facetDefinition", facets);
    return s.toString();
}

From source file:com.funambol.email.model.MailServerAccount.java

/**
 *
 *//*from  w  ww . j  a  v a  2  s  .co  m*/
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this);
    sb.append("\nid", getId());
    sb.append("\ntaskBeanFile", getTaskBeanFile());
    sb.append("\nactive", getActive());
    sb.append("\nstatus", getStatus());
    sb.append("\nperiod", getPeriod());
    sb.append("\nusername", getUsername());
    sb.append("\nMSLogin", getMsLogin());
    sb.append("\nMSPassword", "********");
    sb.append("\nOutLogin", getOutLogin());
    sb.append("\nOutPassword", "********");
    sb.append("\nMSAddress", getMsAddress());
    sb.append("\nMSMailboxname", getMsMailboxname());
    sb.append("\nPush", getPush());
    sb.append("\nMax Email", getMaxEmailNumber());
    sb.append("\nMax IMAP Email", getMaxImapEmail());
    if (this.mailServer != null) {
        sb.append("\nMailServer", this.mailServer.toString());
    }
    return sb.toString();
}

From source file:eu.datex2.schema._2_0rc2._2_0.InternationalIdentifier.java

/**
 * To string.//from  w w w  .  j a v  a2s.c om
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    CountryEnum theCountry;
    theCountry = this.getCountry();
    toStringBuilder.append("country", theCountry);
    String theNationalIdentifier;
    theNationalIdentifier = this.getNationalIdentifier();
    toStringBuilder.append("nationalIdentifier", theNationalIdentifier);
    ExtensionType theInternationalIdentifierExtension;
    theInternationalIdentifierExtension = this.getInternationalIdentifierExtension();
    toStringBuilder.append("internationalIdentifierExtension", theInternationalIdentifierExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.Linear.java

/**
* {@inheritDoc}//from  w ww.j a va 2s .  c om
*/
@Override
public final void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    LinearExtensionType theLinearExtension;
    theLinearExtension = this.getLinearExtension();
    toStringBuilder.append("linearExtension", theLinearExtension);
}

From source file:br.mdarte.exemplo.academico.web.geral.consultarCurso.PreenchaCamposConsultaCursoFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("codigo", this.codigo);
    builder.append("cursos", this.cursos);
    builder.append("idCurso", this.idCurso);
    builder.append("nome", this.nome);
    return builder.toString();
}

From source file:eu.datex2.schema._2_0rc2._2_0.Location.java

/**
 * {@inheritDoc}// w w  w .  j  a  v  a  2 s . c  o m
 */
@Override
public void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    ExtensionType theLocationExtension;
    theLocationExtension = this.getLocationExtension();
    toStringBuilder.append("locationExtension", theLocationExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.OverallPeriod.java

/**
 * To string.//from   ww w .j a va 2  s  .  c om
 * 
 * @param toStringBuilder
 *            the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    XMLGregorianCalendar theOverallStartTime;
    theOverallStartTime = this.getOverallStartTime();
    toStringBuilder.append("overallStartTime", theOverallStartTime);
    ExtensionType theOverallPeriodExtension;
    theOverallPeriodExtension = this.getOverallPeriodExtension();
    toStringBuilder.append("overallPeriodExtension", theOverallPeriodExtension);
}

From source file:edu.internet2.middleware.psp.spml.config.PsoReference.java

/** {@inheritDoc} */
public String toString() {
    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("ref", ref);
    toStringBuilder.append("toObject", toObject.getId());
    toStringBuilder.append("onNotFound", onNotFound);
    toStringBuilder.append("multipleResults", multipleResults);
    return toStringBuilder.toString();
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrExtendedLinear.java

/**
 * To string.//from   w ww  .j  a  v a2  s.c  o m
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    OpenlrLineLocationReference theOpenlrLineLocationReference;
    theOpenlrLineLocationReference = this.getOpenlrLineLocationReference();
    toStringBuilder.append("openlrLineLocationReference", theOpenlrLineLocationReference);
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrExtendedPoint.java

/**
 * To string./*w  w  w.jav  a 2s  .  c  o m*/
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    OpenlrPointLocationReference theOpenlrPointLocationReference;
    theOpenlrPointLocationReference = this.getOpenlrPointLocationReference();
    toStringBuilder.append("openlrPointLocationReference", theOpenlrPointLocationReference);
}