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

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

Introduction

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

Prototype

public static <T> String reflectionToString(final T object, final ToStringStyle style,
        final boolean outputTransients, final Class<? super T> reflectUpToClass) 

Source Link

Document

Uses ReflectionToStringBuilder to generate a toString for the specified object.

Usage

From source file:de.softmetz.commons.ddd.shared.vo.AbstractCompoundValueObject.java

@Override
public String toString() {
    return ToStringBuilder.reflectionToString((VO) this, ToStringStyle.DEFAULT_STYLE, false, _CONCRETE_CLASS);
}