Example usage for org.apache.commons.lang3.builder ToStringBuilder appendSuper

List of usage examples for org.apache.commons.lang3.builder ToStringBuilder appendSuper

Introduction

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

Prototype

public ToStringBuilder appendSuper(final String superToString) 

Source Link

Document

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.

Usage

From source file:net.dacce.commons.cli.ExclusiveOptions.java

@Override
public String toString() {
    ToStringBuilder tsb = new ToStringBuilder(this);
    for (Option option : members) {
        tsb.append("member", option.getName());
    }/*from w w  w  .  java 2 s.c  o  m*/
    tsb.appendSuper(super.toString());
    return tsb.build();
}

From source file:com.norconex.committer.core.AbstractBatchCommitter.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.appendSuper(super.toString());
    builder.append("commitBatchSize", commitBatchSize);
    builder.append("maxRetries", maxRetries);
    builder.append("maxRetryWait", maxRetryWait);
    builder.append("operations", operations);
    return builder.toString();
}

From source file:com.norconex.committer.core.AbstractFileQueueCommitter.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.appendSuper(super.toString());
    builder.append("queue", queue);
    return builder.toString();
}

From source file:com.norconex.committer.core.AbstractMappedCommitter.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.appendSuper(super.toString());
    builder.append("docCount", docCount);
    builder.append("targetReferenceField", targetReferenceField);
    builder.append("sourceReferenceField", sourceReferenceField);
    builder.append("keepSourceReferenceField", keepSourceReferenceField);
    builder.append("targetContentField", targetContentField);
    builder.append("sourceContentField", sourceContentField);
    builder.append("keepSourceContentField", keepSourceContentField);
    return builder.toString();
}

From source file:org.jasig.cas.support.oauth.services.OAuthRegisteredService.java

@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.appendSuper(super.toString());
    builder.append("clientId", getClientId());
    builder.append("approvalPrompt", isBypassApprovalPrompt());
    return builder.toString();
}

From source file:org.xwiki.resource.entity.EntityResourceReference.java

@Override
public String toString() {
    ToStringBuilder builder = new XWikiToStringBuilder(this);
    builder.appendSuper(super.toString());
    builder.append("reference", getEntityReference());
    builder.append("action", getAction());
    builder.append("locale", getLocale());
    return builder.toString();
}

From source file:pl.softech.eav.domain.attribute.Attribute.java

@Override
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    sb.appendSuper(super.toString());
    sb.append("identifier", identifier);
    sb.append("name", name);
    sb.append("category", category);
    sb.append("dataType", dataType);
    return sb.toString();
}

From source file:pl.softech.eav.domain.category.Category.java

@Override
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    sb.appendSuper(super.toString());
    sb.append("identifier", identifier);
    sb.append("name", name);
    return sb.toString();
}

From source file:pl.softech.eav.domain.dictionary.Dictionary.java

@Override
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    sb.appendSuper(super.toString());
    sb.append(identifier);/*from   w  ww  . j  a va  2  s  .com*/
    return sb.toString();
}

From source file:pl.softech.eav.domain.dictionary.DictionaryEntry.java

@Override
public String toString() {
    ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    sb.appendSuper(super.toString());
    sb.append(identifier);//from  w w  w.  ja  va 2s  .c  o m
    sb.append("name", name);
    return sb.toString();
}