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:de.iteratec.iteraplan.businesslogic.exchange.legacyExcel.importer.EnumAttributeValueData.java

/**
 * {@inheritDoc}/*  w w  w . j  a v  a2s.c o  m*/
 */
@Override
public String toString() {
    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("name", getName().getAttributeValue());
    toStringBuilder.append("oldName", getOldName().getAttributeValue());
    toStringBuilder.append("description", getDescription().getAttributeValue());
    return toStringBuilder.toString();
}

From source file:com.funambol.server.update.Component.java

/**
 * Returns a string representation of this component
 *///www  .ja  v  a 2 s .c  o m
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this);
    sb.append("name", name);
    sb.append("version", version);
    sb.append("releaseDate", releaseDate);
    sb.append("shortDescription", shortDescription);
    sb.append("longDescription", longDescription);
    sb.append("url", url);
    return sb.toString();
}

From source file:com.safetys.framework.jmesa.limit.Sort.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("position", position);
    builder.append("property", property);
    builder.append("order", order);
    return builder.toString();
}

From source file:com.funambol.framework.server.Sync4jSource.java

public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this);

    sb.append("uri", uri);
    sb.append("config", config);
    sb.append("sourceTypeId", sourceTypeId);
    sb.append("sourceName", sourceName);

    return sb.toString();
}

From source file:fr.xebia.demo.wicket.blog.data.Category.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SIMPLE_STYLE);
    builder.append("description", description);
    builder.append("name", name);
    builder.append("nicename", nicename);
    return builder.toString();
}

From source file:ch.systemsx.cisd.openbis.generic.shared.dto.ExperimentPlatesFilter.java

@Override
public final String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this,
            ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE);
    builder.append("hideInvalidated", isHideInvalidated());
    return builder.toString();
}

From source file:com.redhat.rhn.domain.org.SystemMigration.java

/**
 * {@inheritDoc}//from w w w .  j ava  2 s . co  m
 */
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("toOrg", this.getToOrg()).append("fromOrg", this.getFromOrg())
            .append("server", this.getServer()).append("migrated", this.getMigrated());
    return builder.toString();
}

From source file:com.surevine.alfresco.dashboard.DashboardDefinition.java

/**
 * {@inheritDoc}/*from  ww w  . j a  v  a2 s .  c om*/
 */
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("templateId", templateId);
    builder.append("dashlets", dashlets);
    return builder.toString();
}

From source file:de.iteratec.iteraplan.businesslogic.exchange.legacyExcel.importer.EnumAttData.java

/**
 * {@inheritDoc}//from  w w  w. j a v  a2 s . c o m
 */
@Override
public String toString() {
    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("name", getName().getAttributeValue());
    toStringBuilder.append("oldName", getOldName().getAttributeValue());
    toStringBuilder.append("description", getDescription().getAttributeValue());
    toStringBuilder.append("groupName", getGroupName().getAttributeValue());
    toStringBuilder.append("mandatory", getMandatory().getAttributeValue());
    toStringBuilder.append("active", getActive().getAttributeValue());
    toStringBuilder.append("multiple", getMultiple().getAttributeValue());
    toStringBuilder.append("values", getValues().toString());
    return toStringBuilder.toString();
}

From source file:com.funambol.pimlistener.registry.PimRegistryEntry.java

/**
 * Returns a string representation of the object.
 * @return a string representation of the object.
 *///from www  .ja  v a2  s .c o m
@Override
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this);
    sb.append("id", getId());
    sb.append("period", getPeriod());
    sb.append("active", getActive());
    sb.append("taskBeanFile", getTaskBeanFile());
    sb.append("username", getUserName());
    sb.append("pushContacts", isPushContacts());
    sb.append("pushCalendars", isPushCalendars());
    sb.append("pushNotes", isPushNotes());
    sb.append("lastUpdate", getLastUpdate());
    sb.append("status", getStatus());
    return sb.toString();
}