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.funambol.ctp.core.Auth.java

/**
 * Returns a string representation of the object.
 * @return a string representation of the object.
 *//*from w w w. ja  v  a 2 s.c  om*/
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this);
    sb.appendSuper(super.toString());
    sb.append(PARAM_DEVID, devid);
    sb.append(PARAM_USERNAME, username);
    sb.append(PARAM_CRED, cred);
    sb.append(PARAM_FROM, from);
    return sb.toString();
}

From source file:com.syncnapsis.data.model.ContactGroup.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("defaultVisible", defaultVisible).append("description", description).append("name", name)
            .append("ownerAlliance", ownerAlliance.getId()).append("ownerEmpire", ownerEmpire.getId())
            .append("id", id).append("version", version);
    return builder.toString();
}

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

/**
 * To string./*  w  w  w  .j a  v a 2s  .  co  m*/
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    InternationalIdentifier theSupplierIdentification;
    theSupplierIdentification = this.getSupplierIdentification();
    toStringBuilder.append("supplierIdentification", theSupplierIdentification);
    ExtensionType theExchangeExtension;
    theExchangeExtension = this.getExchangeExtension();
    toStringBuilder.append("exchangeExtension", theExchangeExtension);
}

From source file:com.autentia.wuija.security.impl.hibernate.HibernateSecurityUser.java

@Override
public String toString() {
    final ToStringBuilder toStringBuilder = new ToStringBuilder(this);
    toStringBuilder.append("id", id);
    toStringBuilder.append("username", username);
    return toStringBuilder.toString();
}

From source file:com.syncnapsis.data.model.Pinboard.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("name", name).append("description", description).append("creator", creator.getId())
            .append("creationDate", creationDate).append("locked", locked);
    return builder.toString();
}

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

/**
 * To string.//from www  .  j ava  2 s .c  om
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    OpenlrExtendedLinear theOpenlrExtendedLinear;
    theOpenlrExtendedLinear = this.getOpenlrExtendedLinear();
    toStringBuilder.append("openlrExtendedLinear", theOpenlrExtendedLinear);
    List<Object> theAny;
    theAny = this.getAny();
    toStringBuilder.append("any", theAny);
}

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

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

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

/**
 * To string./*from  w w w  .  ja v  a  2s  . co  m*/
 * 
 * @param toStringBuilder
 *            the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    OpenlrExtendedPoint theOpenlrExtendedPoint;
    theOpenlrExtendedPoint = this.getOpenlrExtendedPoint();
    toStringBuilder.append("openlrExtendedPoint", theOpenlrExtendedPoint);
    List<Object> theAny;
    theAny = this.getAny();
    toStringBuilder.append("any", theAny);
}

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

/**
 * {@inheritDoc}//from www. j av a  2 s  .c  o m
 */
@Override
public final void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    List<Situation> theSituation;
    theSituation = this.getSituation();
    toStringBuilder.append("situation", theSituation);
    ExtensionType theSituationPublicationExtension;
    theSituationPublicationExtension = this.getSituationPublicationExtension();
    toStringBuilder.append("situationPublicationExtension", theSituationPublicationExtension);
}

From source file:br.mdarte.exemplo.academico.web.geral.consultarEstudante.PreenchaCamposConsultaEstudanteFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("estudantes", this.estudantes);
    builder.append("cpf", this.cpf);
    builder.append("nome", this.nome);
    builder.append("idEstudante", this.idEstudante);
    builder.append("matricula", this.matricula);
    return builder.toString();
}