Example usage for org.springframework.core.style ToStringCreator ToStringCreator

List of usage examples for org.springframework.core.style ToStringCreator ToStringCreator

Introduction

In this page you can find the example usage for org.springframework.core.style ToStringCreator ToStringCreator.

Prototype

public ToStringCreator(Object obj, @Nullable ToStringStyler styler) 

Source Link

Document

Create a ToStringCreator for the given object, using the provided style.

Usage

From source file:com.enonic.cms.domain.security.user.UserEntity.java

@Override
public String toString() {
    ToStringCreator toString = new ToStringCreator(this, CmsToStringStyler.DEFAULT);
    toString.append("qualifiedName", getQualifiedName());
    return toString.toString();
}