Java Code Examples for org.apache.commons.lang.builder.ToStringBuilder

The following are top voted examples for showing how to use org.apache.commons.lang.builder.ToStringBuilder. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: lams   File: VoteGeneralLearnerFlowDTO.java   Source Code and License 6 votes vote down vote up
@Override
    public String toString() {
	return new ToStringBuilder(this).append("activityInstructions: ", activityInstructions)
		.append("activityTitle: ", activityTitle).append("revisitingUser: ", revisitingUser)
		.append("userEntry: ", userEntry).append("castVoteCount: ", castVoteCount)
		.append("maxNominationCountReached: ", maxNominationCountReached).append("learningMode: ", learningMode)
		.append("maxNominationCount: ", maxNominationCount).append("allowTextEntry: ", allowTextEntry)
		.append("showResults: ", showResults).append("lockOnFinish: ", lockOnFinish)
		.append("toolContentID: ", toolContentID).append("toolContentUID: ", toolContentUID)
		.append("requestLearningReport: ", requestLearningReport)
		.append("requestLearningReportProgress: ", requestLearningReportProgress)
		.append("nominationsSubmited: ", nominationsSubmited)
		.append("mapGeneralCheckedOptionsContent: ", mapGeneralCheckedOptionsContent)
		.append("mapStandardNominationsContent: ", mapStandardNominationsContent)
		.append("mapStandardNominationsHTMLedContent: ", mapStandardNominationsHTMLedContent)
		.append("mapStandardRatesContent: ", mapStandardRatesContent)
		.append("mapStandardUserCount: ", mapStandardUserCount)
		.append("mapStandardQuestionUid: ", mapStandardQuestionUid)
		.append("mapStandardToolSessionUid: ", mapStandardToolSessionUid)
//		.append("listMonitoredAnswersContainerDto: ", listMonitoredAnswersContainerDto)
		.append("listUserEntries: ", listUserEntries).append("reportViewOnly: ", reportViewOnly).toString();
    }
 
Example 2
Project: lams   File: UserDTO.java   Source Code and License 5 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("userID", getUserID()).append("firstName", getFirstName())
	.append("lastName", getLastName()).append("login", getLogin())
	.append("localeLanguage", getLocaleLanguage()).append("localeCountry", getLocaleCountry())
	.append("direction", getDirection()).append("email", getEmail()).append("htmlTheme", getTheme())
	.append("timeZone", getTimeZone()).append("authenticationMethodId", getAuthenticationMethodId())
	.append("fckLanguageMapping", getFckLanguageMapping())
	.append("tutorialsDisabled", "" + getTutorialsDisabled()).toString();
   }
 
Example 3
Project: lams   File: SupportedLocale.java   Source Code and License 5 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("localeId", getLocaleId())
	.append("languageIsoCode", getLanguageIsoCode()).append("countryIsoCode", getCountryIsoCode())
	.append("description", getDescription()).append("direction", getDirection())
	.append("fckLanguageMapping", getFckLanguageMapping()).toString();
   }
 
Example 4
Project: jta-atomikos   File: TsysPost.java   Source Code and License 5 votes vote down vote up
public String toString() {
	return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
			.append("PostId", getPostId())
			.append("PostName", getPostName())
			.append("Remark", getRemark())
			.append("PostType", getPostType())
			.append("ParentPostid", getParentPostid()).toString();
}
 
Example 5
Project: mapr-music   File: SortOption.java   Source Code and License 5 votes vote down vote up
@Override
public String toString() {
    return new ToStringBuilder(this)
            .append("order", order)
            .append("fields", fields)
            .toString();
}
 
Example 6
Project: doctemplate   File: IterationMergeElement.java   Source Code and License 5 votes vote down vote up
@Override
public String toString() {
	return new ToStringBuilder(this)
			.append("key", key)
			.append("name", name)
			.toString();
}
 
Example 7
Project: alfresco-repository   File: ImportableItem.java   Source Code and License 5 votes vote down vote up
@Override
public String toString()
{
    return(new ToStringBuilder(this)
           .append("contentFile", (contentFileExists ? contentFile : null))
           .append("metadatafile", metadataFile)
           .toString());
}
 
Example 8
Project: cas4.0.x-server-wechat   File: OAuthRegisteredService.java   Source Code and License 5 votes vote down vote up
@Override
public String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.appendSuper(super.toString());
    builder.append("clientId", getClientId());
    return builder.toString();
}
 
Example 9
Project: lams   File: VoteLearningForm.java   Source Code and License 5 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("activityInstructions: ", activityInstructions)
	.append("activityTitle: ", activityTitle).append("revisitingUser: ", revisitingUser)
	.append("userEntry: ", userEntry).append("castVoteCount: ", castVoteCount)
	.append("maxNominationCountReached: ", maxNominationCountReached)
	.append("toolSessionID: ", toolSessionID).append("learningMode: ", learningMode)
	.append("toolContentID: ", toolContentID).append("nominationsSubmited: ", nominationsSubmited)
	.append("toolContentUID: ", toolContentUID).append("previewOnly: ", previewOnly)
	.append("reportViewOnly: ", reportViewOnly)
	.append("mapGeneralCheckedOptionsContent: ", mapGeneralCheckedOptionsContent).toString();
   }
 
Example 10
Project: spring-i18n-support   File: ExcelReader.java   Source Code and License 5 votes vote down vote up
/**
 * Method parses a row of the body content and puts the related entry into the result list (entries).
 * If the row is invalid in any kind, no modification happens. If any of the parameters provided is null or invalid,
 * no modification happens.
 * 
 * @param entries the list of entries, where the result of the row should be put in
 * @param langKeys the language information to parse the row correctly
 * @param row the row to be processed.
 */
private void parseContentBodyRow(	List<MessageResourceEntry> entries,
									Map<Integer, Locale> langKeys,
									Row row,
									String type)
{
	if (entries == null || row == null || langKeys == null || langKeys.isEmpty())
	{
		return;
	}
	MessageResourceEntry entry = new MessageResourceEntry();
	String code = getCellStringValue(row.getCell(this.keyColumn));
	if (!StringUtils.isBlank(code))
	{
		entry.setCodeId(StringUtils.trim(code));
		for (int nameIndex = this.firstLanguageColumn; nameIndex <= langKeys.size(); nameIndex++)
		{
			Cell cell = row.getCell(nameIndex);
			String name = getCellStringValue(cell);
			if (!StringUtils.isBlank(name))
			{
				Locale lang = langKeys.get(nameIndex);
				entry.addLang(lang, name);
			}
		}
		if (entry.size() > 0)
		{
			entry.setType(type);
			entries.add(entry);
		}
	}
	if (LOG.isDebugEnabled())
	{
		LOG.debug(ToStringBuilder.reflectionToString(entry, ToStringStyle.SHORT_PREFIX_STYLE));
	}
}
 
Example 11
Project: lams   File: McGeneralLearnerFlowDTO.java   Source Code and License 5 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("retries: ", retries)
	.append("mapGeneralOptionsContent: ", mapGeneralOptionsContent).append("learnerMark : ", learnerMark)
	.append("totalQuestionCount: ", totalQuestionCount).append("passMark: ", passMark)
	.append("passMarkApplicable: ", passMarkApplicable).append("userPassed: ", userPassed)
	.append("userOverPassMark: ", userOverPassMark).append("reportTitleLearner: ", reportTitleLearner)
	.append("activityInstructions: ", activityInstructions).append("activityTitle: ", activityTitle)
	.append("displayAnswers: ", displayAnswers).append("reflection: ", reflection)
	.append("reflectionSubject: ", reflectionSubject).append("notebookEntry: ", notebookEntry)
	.append("notebookEntriesVisible: ", notebookEntriesVisible).toString();
   }
 
Example 12
Project: jta-atomikos   File: TsysApp.java   Source Code and License 5 votes vote down vote up
public String toString() {
	return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
		.append("AppId",getAppId())
		.append("AppName",getAppName())
		.append("AppIcon",getAppIcon())
		.append("OrderNo",getOrderNo())
		.append("AppPath",getAppPath())
		.append("AppShortname",getAppShortname())
		.toString();
}
 
Example 13
Project: lams   File: GroupingActivity.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("activityId", getActivityId()).toString();
   }
 
Example 14
Project: otter-G   File: AutoKeeperStat.java   Source Code and License 4 votes vote down vote up
public String toString() {
    return ToStringBuilder.reflectionToString(this, OtterToStringStyle.DEFAULT_STYLE);
}
 
Example 15
Project: light-tram-4j   File: ReplyDestination.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
  return ToStringBuilder.reflectionToString(this);
}
 
Example 16
Project: lams   File: AuthenticationMethod.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("authenticationMethodId", getAuthenticationMethodId()).toString();
   }
 
Example 17
Project: lams   File: FloatingActivity.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("activityId", getActivityId()).toString();
   }
 
Example 18
Project: light-tram-4j   File: DomainEventEnvelopeImpl.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
  return ToStringBuilder.reflectionToString(this);
}
 
Example 19
Project: light-tram-4j   File: MessageImpl.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
  return ToStringBuilder.reflectionToString(this);
}
 
Example 20
Project: otter-G   File: SyncStatusEventData.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this, OtterToStringStyle.DEFAULT_STYLE);
}
 
Example 21
Project: lams   File: ToolSession.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("toolSessionId", getToolSessionId()).toString();
   }
 
Example 22
Project: echo   File: Property.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this);
}
 
Example 23
Project: otter-G   File: LogRecord.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this, OtterToStringStyle.DEFAULT_STYLE);
}
 
Example 24
Project: lams   File: LicenseDTO.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("licenseID", licenseID).append("name", name).append("code", code)
	.append("url", url).append("defaultLicense", defaultLicense).append("pictureURL", pictureURL)
	.toString();
   }
 
Example 25
Project: otter-G   File: RefreshMemoryMirror.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this, OtterToStringStyle.SIMPLE_STYLE);
}
 
Example 26
Project: GitHub   File: ContactTemplateParam.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this);
}
 
Example 27
Project: lams   File: LearningDesign.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("learningDesignId", getLearningDesignId()).toString();
   }
 
Example 28
Project: microservice-cloudfoundry   File: Item.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
	return ToStringBuilder.reflectionToString(this);
}
 
Example 29
Project: loom   File: ProviderImpl.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return new ToStringBuilder(this).append("providerType", providerType).append("providerId", providerId)
            .append("authEndpoint", authEndpoint).append("providerName", providerName).toString();
}
 
Example 30
Project: microservice-cloudfoundry   File: Customer.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
	return ToStringBuilder.reflectionToString(this);
}
 
Example 31
Project: microservice-cloudfoundry   File: Item.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
	return ToStringBuilder.reflectionToString(this);
}
 
Example 32
Project: microservice-kafka   File: Order.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
	return ToStringBuilder.reflectionToString(this);
}
 
Example 33
Project: lams   File: SubmitFilesReport.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("reportID", getReportID()).append("comments", getComments())
	.append("marks", getMarks()).append("dateMarksReleased", getDateMarksReleased()).toString();
   }
 
Example 34
Project: microservice-atom   File: Item.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
	return ToStringBuilder.reflectionToString(this);
}
 
Example 35
Project: otter-G   File: NodeTask.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
 
Example 36
Project: ctsms   File: IDVO.java   Source Code and License 4 votes vote down vote up
@Override
public String toString()
{
	return new ToStringBuilder(this).append("id", this.getId()).toString();
}
 
Example 37
Project: INFOotball   File: Match.java   Source Code and License 4 votes vote down vote up
@Override
public String toString(){
    return new ToStringBuilder(this).append("date",date).append("league",league).append("round",round).append("homeTeam",homeTeam).append("homeTeamId",homeTeamId).append("awayTeam",awayTeam).append("awayTeamId",awayTeamId).append("time",time).append("homeGoals",homeGoals).append("awayGoals",awayGoals).append("location",location).toString();
}
 
Example 38
Project: light-saga-4j   File: Money.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
  return ToStringBuilder.reflectionToString(this);
}
 
Example 39
Project: lams   File: CrNodeVersionProperty.java   Source Code and License 4 votes vote down vote up
@Override
   public String toString() {
return new ToStringBuilder(this).append("id", getId()).append("name", getName()).append("value", getValue())
	.append("type", getType()).toString();
   }
 
Example 40
Project: otter-G   File: AlarmMessage.java   Source Code and License 4 votes vote down vote up
@Override
public String toString() {
    return ToStringBuilder.reflectionToString(this, OtterToStringStyle.DEFAULT_STYLE);
}