Java Code Examples for org.apache.commons.lang3.builder.ToStringStyle#MULTI_LINE_STYLE

The following examples show how to use org.apache.commons.lang3.builder.ToStringStyle#MULTI_LINE_STYLE . 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: BetCommand.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 6 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.append("matchId", matchId);
    builder.append("betId", betId);
    builder.append("goalsTeamOne", goalsTeamOne);
    builder.append("goalsTeamTwo", goalsTeamTwo);
    builder.append("redirectViewName", redirectViewName);
    builder.append("teamNameOne", teamNameOne);
    builder.append("teamNameTwo", teamNameTwo);
    builder.append("groupMatch", groupMatch);
    builder.append("penaltyWinnerOne", penaltyWinnerOne);
    builder.append("iconPathTeamOne", iconPathTeamOne);
    builder.append("iconPathTeamTwo", iconPathTeamTwo);
    builder.append("useJoker", useJoker);
    return builder.toString();
}
 
Example 2
Source File: Bet.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.append("id", id);
    builder.append("userName", userName);
    builder.append("match", match);
    builder.append("goalsTeamOne", goalsTeamOne);
    builder.append("goalsTeamTwo", goalsTeamTwo);
    builder.append("points", points);
    builder.append("penaltyWinnerOne", penaltyWinnerOne);
    builder.append("joker", joker);
    return builder.toString();
}
 
Example 3
Source File: Cube.java    From incubator-pinot with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
  ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
  tsb.append("Baseline Value", baselineTotal)
      .append("Current Value", currentTotal)
      .append("Change Ratio", currentTotal / baselineTotal)
      .append("Dimensions", this.dimensions)
      .append("#Detailed Rows", hierarchicalRows.get(hierarchicalRows.size() - 1).size());
  return tsb.toString();
}
 
Example 4
Source File: Match.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.append("id", id);
    builder.append("teamOne", teamOne);
    builder.append("teamTwo", teamTwo);
    builder.append("group", group);
    builder.append("kickOffDate", kickOffDate);
    builder.append("stadium", stadium);
    return builder.toString();
}
 
Example 5
Source File: Info.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("pk", pk);
	builder.append("content", content);
	return builder.toString();
}
 
Example 6
Source File: RuntimeConfigDb.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("configId", configId);
	builder.append("jsonConfig", jsonConfig);
	return builder.toString();
}
 
Example 7
Source File: AppUser.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("id", id);
	builder.append("username", username);
	builder.append("password", password != null ? "is set" : "is null");
	builder.append("roles", roles);
	builder.append("deletable", deletable);
	builder.append("firstLogin", firstLogin);
	return builder.toString();
}
 
Example 8
Source File: ImageBinary.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("key", key);
	builder.append("imageGroupId", imageGroupId);
	builder.append("image size", imageBinary != null ? imageBinary.length : 0);
	builder.append("image thumb size", thumbImageBinary != null ? thumbImageBinary.length : 0);
	return builder.toString();
}
 
Example 9
Source File: ExtraBet.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("id", id);
	builder.append("userName", userName);
	builder.append("finalWinner", finalWinner);
	builder.append("semiFinalWinner", semiFinalWinner);
	builder.append("thirdFinalWinner", thirdFinalWinner);
	builder.append("pointsOne", pointsOne);
	builder.append("pointsTwo", pointsTwo);
	builder.append("pointsThree", pointsThree);
	return builder.toString();
}
 
Example 10
Source File: ImageMetaData.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("id", id);
	builder.append("imageGroup", imageGroup);
	builder.append("imageKey", imageKey);
	builder.append("description", description);
	builder.append("version", version);
	builder.append("owner", owner);
	return builder.toString();
}
 
Example 11
Source File: SessionTracking.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("userName", userName);
	builder.append("sessionId", sessionId);
	builder.append("lastLogin", lastLogin);
	return builder.toString();
}
 
Example 12
Source File: ReportMLResponse.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {

    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);

    return toStringBuilder.append("token", token)
            .append("predictions", predictions)
            .append("userMarks", userMarks).toString();
}
 
Example 13
Source File: PointCountResult.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("username", username);
	builder.append("points", points);
	builder.append("numberOfPointsCount", numberOfPointsCount);
	return builder.toString();
}
 
Example 14
Source File: FredbetProperties.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.append("thumbnailSize", thumbnailSize);
    builder.append("imageSize", imageSize);
    builder.append("imageLocation", imageLocation);

    builder.append("imageFileSystemBaseFolder", imageFileSystemBaseFolder);
    builder.append("awsS3bucketName", awsS3bucketName);
    return builder.toString();
}
 
Example 15
Source File: AbstractMatchHeaderCommand.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.append("countryTeamOne", countryTeamOne);
    builder.append("countryTeamTwo", countryTeamTwo);
    return builder.toString();
}
 
Example 16
Source File: CreateUserCommand.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	builder.append("userId", userId);
	builder.append("password", password != null ? "is set" : "is null");
	builder.append("roles", roles);
	return builder.toString();
}
 
Example 17
Source File: ReceiverBase.java    From iaf with Apache License 2.0 5 votes vote down vote up
/**
 *  Returns a toString of this class by introspection and the toString() value of its listener.
 *
 * @return Description of the Return Value
 */
@Override
public String toString() {
	String result = super.toString();
	ToStringBuilder ts=new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
	ts.append("name", getName() );
	result += ts.toString();
	result+=" listener ["+(listener==null ? "-none-" : listener.toString())+"]";
	return result;
}
 
Example 18
Source File: MatchCommand.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    builder.appendSuper(super.toString());
    builder.append("matchId", matchId);
    builder.append("teamResultOne", teamResultOne);
    builder.append("teamResultTwo", teamResultTwo);
    builder.append("group", group);
    builder.append("kickOffDate", getKickOffDate());
    return builder.toString();
}
 
Example 19
Source File: ReportMessageDescriptor.java    From sailfish-core with Apache License 2.0 3 votes vote down vote up
@Override
public String toString() {

    ToStringBuilder toStringBuilder = new ToStringBuilder(ToStringStyle.MULTI_LINE_STYLE);

    return toStringBuilder.append("actionId", actionId).append("messageId", messageId).toString();
}
 
Example 20
Source File: TokenWrapperResponse.java    From sailfish-core with Apache License 2.0 3 votes vote down vote up
@Override
public String toString() {

    ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);

    return toStringBuilder.append("token", token).append("active", active).toString();
}