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:edu.utah.further.core.util.registry.SimpleDataMessageImpl.java

/**
 * Print debugging information on the message.
 *
 * @return debugging information on the message
 * @see java.lang.Object#toString()/*  w w  w .jav  a 2 s.  co  m*/
 */
@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this, SHORT_WITH_SPACES_STYLE).append("id", id)
            .append("type", type).append("data", data).append("reply-to", originalMessage);
    final Node subject = getSubject();
    if (subject != null) {
        builder.append("node", subject.getName());
    }
    return builder.toString();
}

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

/** {@inheritDoc} */
public String toString() {
    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("id", id);
    toStringBuilder.append("authoritative", authoritative);
    return toStringBuilder.toString();
}

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

/**
 * To string.// w w w .jav a 2s  . c o  m
 * 
 * @param toStringBuilder
 *            the to string builder
 */
public void toString(final ToStringBuilder toStringBuilder) {
    XMLGregorianCalendar theSituationRecordCreationTime;
    theSituationRecordCreationTime = this.getSituationRecordCreationTime();
    toStringBuilder.append("situationRecordCreationTime", theSituationRecordCreationTime);
    XMLGregorianCalendar theSituationRecordVersionTime;
    theSituationRecordVersionTime = this.getSituationRecordVersionTime();
    toStringBuilder.append("situationRecordVersionTime", theSituationRecordVersionTime);
    ProbabilityOfOccurrenceEnum theProbabilityOfOccurrence;
    theProbabilityOfOccurrence = this.getProbabilityOfOccurrence();
    toStringBuilder.append("probabilityOfOccurrence", theProbabilityOfOccurrence);
    Validity theValidity;
    theValidity = this.getValidity();
    toStringBuilder.append("validity", theValidity);
    GroupOfLocations theGroupOfLocations;
    theGroupOfLocations = this.getGroupOfLocations();
    toStringBuilder.append("groupOfLocations", theGroupOfLocations);
    ExtensionType theSituationRecordExtension;
    theSituationRecordExtension = this.getSituationRecordExtension();
    toStringBuilder.append("situationRecordExtension", theSituationRecordExtension);
    String theId;
    theId = this.getId();
    toStringBuilder.append("id", theId);
    String theVersion;
    theVersion = this.getVersion();
    toStringBuilder.append("version", theVersion);
}

From source file:es.pode.tagging.presentacion.adminTag.modificar.ModificarFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("newTag", this.newTag);
    builder.append("tag", this.tag);
    builder.append("tagOld", this.tagOld);
    builder.append("accion", this.accion);
    return builder.toString();
}

From source file:es.pode.administracion.presentacion.planificador.ejecutarTarea.EjecutarTareaFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("trigger", this.trigger);
    builder.append("grupoTrigger", this.grupoTrigger);
    builder.append("trabajo", this.trabajo);
    builder.append("grupoTrabajo", this.grupoTrabajo);
    return builder.toString();
}

From source file:es.pode.administracion.presentacion.planificador.listarTareasEnEjecucion.ListarPararTareaFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("trigger", this.trigger);
    builder.append("grupoTrigger", this.grupoTrigger);
    builder.append("grupoTrabajo", this.grupoTrabajo);
    builder.append("trabajo", this.trabajo);
    return builder.toString();
}

From source file:es.pode.empaquetador.presentacion.catalogar.CatalogarFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("identificador", this.identificador);
    builder.append("href", this.href);
    builder.append("identifier", this.identifier);
    builder.append("returnURL", this.returnURL);
    return builder.toString();
}

From source file:es.pode.buscador.presentacion.basico.enviarMail.EnvioMailCancelarFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("mostrarVuelta", this.mostrarVuelta);
    builder.append("identificadorODE", this.identificadorODE);
    builder.append("idioma", this.idioma);
    builder.append("tipoLayoutBuscador", this.tipoLayoutBuscador);
    return builder.toString();
}

From source file:es.pode.empaquetador.presentacion.archivos.modificar.FormularioModificarAceptarFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("extension", this.extension);
    builder.append("archivoVO", this.archivoVO);
    builder.append("nuevoNombre", this.nuevoNombre);
    builder.append("action", this.action);
    return builder.toString();
}

From source file:es.pode.empaquetador.presentacion.basico.carpeta.CrearCarpetaBasicoFormImpl.java

public java.lang.String toString() {
    org.apache.commons.lang.builder.ToStringBuilder builder = new org.apache.commons.lang.builder.ToStringBuilder(
            this);
    builder.append("title", this.title);
    builder.append("esModificar", this.esModificar);
    builder.append("action", this.action);
    builder.append("identifier", this.identifier);
    return builder.toString();
}