Package org.springframework.core.style

Examples of org.springframework.core.style.ToStringCreator


  public abstract Object getOriginalValue();

  public abstract Object getMappedValue();

  public String toString() {
    ToStringCreator creator = new ToStringCreator(this).append("code", getCode()).append("error", isError());
    if (isError()) {
      creator.append("errorCause", getErrorCause());
    }
    creator.append("originalValue", getOriginalValue());
    creator.append("mappedValue", getMappedValue());
    return creator.toString();
  }
View Full Code Here


    }
    return results;
  }

  public String toString() {
    return new ToStringCreator(this).append("mappings", mappings).toString();
  }
View Full Code Here

      flowModelBuilder.dispose();
    }
  }

  public String toString() {
    return new ToStringCreator(this).append("flowModelBuilder", flowModelBuilder).toString();
  }
View Full Code Here

  public Object getMutex() {
    return map;
  }

  public String toString() {
    return new ToStringCreator(this).append("map", map).append("mutex", getMutex()).toString();
  }
View Full Code Here

    // create the 'null' source message list eagerly to ensure global messages are indexed first
    this.sourceMessages.get(null);
  }

  public String toString() {
    return new ToStringCreator(this).append("sourceMessages", sourceMessages).toString();
  }
View Full Code Here

      }
    }
  }

  public String toString() {
    return new ToStringCreator(this).append("flowModelResource", flowModelHolder.getFlowModelResource()).toString();
  }
View Full Code Here

  public int hashCode() {
    return sourceClass.hashCode() + targetClass.hashCode();
  }

  public String toString() {
    return new ToStringCreator(this).append("sourceClass", sourceClass).append("targetClass", targetClass)
        .toString();
  }
View Full Code Here

  /**
   * Provide a String representation of this test context's state.
   */
  @Override
  public String toString() {
    return new ToStringCreator(this)//
    .append("testClass", this.testClass)//
    .append("locations", this.locations)//
    .append("testInstance", this.testInstance)//
    .append("testMethod", this.testMethod)//
    .append("testException", this.testException)//
View Full Code Here

  /**
   * Generates a text string, which contains the {@link #size() size} as well
   * as the {@link #hitCount hit} and {@link #missCount miss} counts.
   */
  public String toString() {
    return new ToStringCreator(this)
      .append("size", size())
      .append("hitCount", getHitCount())
      .append("missCount",getMissCount())
      .toString();
  }
View Full Code Here

  /**
   * Provide a String representation of this test context's state.
   */
  @Override
  public String toString() {
    return new ToStringCreator(this)//
    .append("testClass", testClass)//
    .append("testInstance", testInstance)//
    .append("testMethod", testMethod)//
    .append("testException", testException)//
    .append("mergedContextConfiguration", mergedContextConfiguration)//
View Full Code Here

TOP

Related Classes of org.springframework.core.style.ToStringCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.