List of usage examples for org.springframework.core.style ToStringCreator ToStringCreator
public ToStringCreator(Object obj)
From source file:org.springframework.faces.mvc.annotation.support.FoundNavigationCase.java
public String toString() { return new ToStringCreator(this).append("navigationCase", navigationCase).append("type", type) .append("owner", owner).toString(); }
From source file:org.springframework.richclient.core.LabeledObjectSupport.java
public String toString() { return new ToStringCreator(this).toString(); }
From source file:org.springframework.richclient.core.LabelInfo.java
/** * {@inheritDoc}/*from ww w . j ava 2s . c om*/ */ public String toString() { return new ToStringCreator(this).append("text", this.text).append("mnemonic", this.mnemonic) .append("mnemonicIndex", this.mnemonicIndex).toString(); }
From source file:org.springframework.richclient.image.DefaultImageSource.java
public String toString() { return new ToStringCreator(this).append("imageResources", imageResources).toString(); }
From source file:org.springframework.rules.reporting.ValidationResultsBuilder.java
public String toString() { return new ToStringCreator(this).append("topOfStack", top).append("levelsStack", levels).toString(); }
From source file:org.springframework.rules.reporting.ValidationResultsCollector.java
public String toString() { return new ToStringCreator(this).append("collectAllErrors", collectAllErrors) .append("validationResultsBuilder", resultsBuilder).toString(); }
From source file:org.springframework.rules.Rules.java
public String toString() { return new ToStringCreator(this).append("domainObjectClass", domainObjectType) .append("propertyRules", propertiesConstraints).toString(); }
From source file:org.springframework.rules.support.DefaultRulesSource.java
public String toString() { return new ToStringCreator(this).append("rules", ruleContexts).toString(); }
From source file:org.springframework.test.context.cache.DefaultContextCache.java
/** * Generate a text string containing the implementation type of this * cache and its statistics./*ww w . j a va 2 s . c om*/ * <p>The string returned by this method contains all information * required for compliance with the contract for {@link #logStatistics()}. * @return a string representation of this cache, including statistics */ @Override public String toString() { return new ToStringCreator(this).append("size", size()).append("maxSize", getMaxSize()) .append("parentContextCount", getParentContextCount()).append("hitCount", getHitCount()) .append("missCount", getMissCount()).toString(); }
From source file:org.springframework.test.context.ContextConfigurationAttributes.java
/** * Provide a String representation of the context configuration attributes * and declaring class.//w ww. j av a2 s. c o m */ @Override public String toString() { return new ToStringCreator(this).append("declaringClass", this.declaringClass.getName()) .append("classes", ObjectUtils.nullSafeToString(this.classes)) .append("locations", ObjectUtils.nullSafeToString(this.locations)) .append("inheritLocations", this.inheritLocations) .append("initializers", ObjectUtils.nullSafeToString(this.initializers)) .append("inheritInitializers", this.inheritInitializers).append("name", this.name) .append("contextLoaderClass", this.contextLoaderClass.getName()).toString(); }