Java Code Examples for org.springframework.core.style.ToStringCreator#toString()

The following examples show how to use org.springframework.core.style.ToStringCreator#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JpaReconciliationCriteriaImpl.java    From openregistry with Apache License 2.0 6 votes vote down vote up
public String toString() {
    final ToStringCreator toStringCreator = new ToStringCreator(this);
    toStringCreator.append("person", this.sorPerson);
    toStringCreator.append("emailAddress", this.emailAddress);
    toStringCreator.append("phoneCountryCode", this.phoneCountryCode);
    toStringCreator.append("phoneAreaCode", this.phoneAreaCode);
    toStringCreator.append("phoneNumber", this.phoneNumber);
    toStringCreator.append("phoneExtension", this.phoneExtension);
    toStringCreator.append("addressLine1", this.addressLine1);
    toStringCreator.append("addressLine2", this.addressLine2);
    toStringCreator.append("city", this.city);
    toStringCreator.append("region", this.region);
    toStringCreator.append("postalCode", this.postalCode);

    return toStringCreator.toString();
}
 
Example 2
Source File: LoadBalancerClientSpecification.java    From spring-cloud-loadbalancer with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringCreator to = new ToStringCreator(this);
	to.append("name", name);
	to.append("configuration", configuration);
	return to.toString();
}
 
Example 3
Source File: OnComplete.java    From spring-cloud-loadbalancer with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringCreator to = new ToStringCreator(this);
	to.append("status", status);
	to.append("throwable", throwable);
	return to.toString();
}
 
Example 4
Source File: Bindable.java    From spring-cloud-gray with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringCreator creator = new ToStringCreator(this);
    creator.append("type", this.type);
    creator.append("value", (this.value != null) ? "provided" : "none");
    creator.append("annotations", this.annotations);
    return creator.toString();
}
 
Example 5
Source File: Bean2.java    From snake-yaml with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringCreator builder = new ToStringCreator(this);
    builder.append(this.strVal);
    builder.append(this.intVal);
    return builder.toString();
}
 
Example 6
Source File: Bean1.java    From snake-yaml with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringCreator builder = new ToStringCreator(this);
    builder.append(this.strVal);
    builder.append(this.intVal);
    return builder.toString();
}
 
Example 7
Source File: LoadBalancerClientSpecification.java    From spring-cloud-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringCreator to = new ToStringCreator(this);
	to.append("name", this.name);
	to.append("configuration", this.configuration);
	return to.toString();
}
 
Example 8
Source File: CompletionContext.java    From spring-cloud-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringCreator to = new ToStringCreator(this);
	to.append("status", this.status);
	to.append("throwable", this.throwable);
	return to.toString();
}
 
Example 9
Source File: MutableSearchCriteriaImpl.java    From openregistry with Apache License 2.0 5 votes vote down vote up
public String toString() {
    final ToStringCreator toStringCreator = new ToStringCreator(this);
    toStringCreator.append("identifierValue", this.identifierValue);
    toStringCreator.append("dateOfBirth", this.dateOfBirth);
    toStringCreator.append("familyName", this.familyName);
    toStringCreator.append("givenName", this.givenName);
    toStringCreator.append("name", this.name);
    toStringCreator.append("name", this.identifierType);
    return toStringCreator.toString();
}
 
Example 10
Source File: BeanHolder.java    From snake-yaml with Apache License 2.0 4 votes vote down vote up
@Override
public String toString() {
    ToStringCreator builder = new ToStringCreator(this);
    builder.append(this.bean);
    return builder.toString();
}