org.apache.commons.lang3.builder.ToStringBuilder Java Examples
The following examples show how to use
org.apache.commons.lang3.builder.ToStringBuilder.
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: DCC.java From riiablo with Apache License 2.0 | 6 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("outsizeCoded", outsizeCoded) .append("compressionFlags", getFlags()) .append("variable0Bits", variable0Bits) .append("widthBits", widthBits) .append("heightBits", heightBits) .append("xOffsetBits", xOffsetBits) .append("yOffsetBits", yOffsetBits) .append("optionalBytesBits", optionalBytesBits) .append("codedBytesBits", codedBytesBits) //.append("pixelBufferCellsX", pixelBufferCellsX) //.append("pixelBufferCellsY", pixelBufferCellsY) .append("box", box) .build(); }
Example #2
Source File: ProjectCaseSteps.java From LuckyFrameClient with GNU Affero General Public License v3.0 | 6 votes |
@Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("stepId", getStepId()) .append("caseId", getCaseId()) .append("projectId", getProjectId()) .append("stepSerialNumber", getStepSerialNumber()) .append("stepPath", getStepPath()) .append("stepOperation", getStepOperation()) .append("stepParameters", getStepParameters()) .append("action", getAction()) .append("expectedResult", getExpectedResult()) .append("stepType", getStepType()) .append("extend", getExtend()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .toString(); }
Example #3
Source File: ProjectCase.java From LuckyFrameWeb with GNU Affero General Public License v3.0 | 6 votes |
public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("caseId", getCaseId()) .append("caseSerialNumber", getCaseSerialNumber()) .append("caseSign", getCaseSign()) .append("caseName", getCaseName()) .append("projectId", getProjectId()) .append("moduleId", getModuleId()) .append("caseType", getCaseType()) .append("failcontinue", getFailcontinue()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("remark", getRemark()) .append("project", getProject()) .append("projectCaseModule", getProjectCaseModule()) .toString(); }
Example #4
Source File: LdapServerImpl.java From ldap-in-memory with Apache License 2.0 | 6 votes |
/** * Loads entries (non-attribute entries) as specified in the configuration file. * * @throws Exception */ protected void loadEntries() throws Exception { LOG.info(">>>LdapServerImpl.loadEntries()"); if (configuration.getEntries() != null && configuration.getEntries().size() > 0) { for (org.slc.sli.ldap.inmemory.domain.Entry configEntry : configuration.getEntries()) { LOG.info(" creating entry."); final String attributeName = "objectClass"; final Collection<String> attributeValues = new ArrayList<String>(); for (String name : configEntry.getObjectClasses()) { attributeValues.add(name); } Entry en = new Entry(new DN(configEntry.getObjectDn())); en.addAttribute(attributeName, attributeValues); this.server.add(en); LOG.info(" Added entry: {}", ToStringBuilder.reflectionToString(en, ToStringStyle.MULTI_LINE_STYLE)); } } LOG.info("<<<LdapServerImpl.loadEntries()"); }
Example #5
Source File: ClusterConfiguration.java From elasticsearch-maven-plugin with Apache License 2.0 | 6 votes |
public String toString() { return new ToStringBuilder(this) .append("flavour", flavour) .append("version", version) .append("downloadUrl", downloadUrl) .append("downloadUrlUsername", downloadUrlUsername) .append("downloadUrlPassword", Optional.ofNullable(downloadUrlPassword).map(p -> "****").orElse(null)) .append("clusterName", clusterName) .append("pathConfigFile", pathConf) .append("plugins", plugins) .append("pathInitScripts", pathInitScripts) .append("keepExistingData", keepExistingData) .append("timeout", timeout) .append("clientSocketTimeout", clientSocketTimeout) .append("setAwait", setAwait) .append("autoCreateIndex", autoCreateIndex) .append("instanceConfigurationList", StringUtils.join(instanceConfigurationList, ',')) .toString(); }
Example #6
Source File: DepositAddress.java From zheshiyigeniubidexiangmu with MIT License | 5 votes |
@Override public String toString() { return new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE) .append("address", address) .append("success", success) .append("addressTag", addressTag) .append("asset", asset) .toString(); }
Example #7
Source File: StoreAppReleaseDateInfo.java From async-gamequery-lib with MIT License | 5 votes |
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE) .append("comingSoon", isComingSoon()) .append("releaseDate", getReleaseDate()) .toString(); }
Example #8
Source File: Verification.java From sailfish-core with Apache License 2.0 | 5 votes |
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("statusDescription", statusDescription); builder.append("parameters", parameters.size()); return builder.toString(); }
Example #9
Source File: XmlTypeToJsonSchemaConverter.java From iaf with Apache License 2.0 | 5 votes |
private void handleSimpleTypeDefinition(XSTypeDefinition typeDefinition, JsonObjectBuilder builder){ XSSimpleTypeDefinition simpleTypeDefinition = (XSSimpleTypeDefinition)typeDefinition; if (log.isTraceEnabled()) log.trace("typeDefinition.name ["+typeDefinition.getName()+"]"); if (log.isTraceEnabled()) log.trace("simpleTypeDefinition.getBuiltInKind ["+simpleTypeDefinition.getBuiltInKind()+"]"); if (log.isTraceEnabled()) log.trace(ToStringBuilder.reflectionToString(typeDefinition,ToStringStyle.MULTI_LINE_STYLE)); short builtInKind = simpleTypeDefinition.getBuiltInKind(); String dataType = getJsonDataType(builtInKind); if (dataType.equalsIgnoreCase("integer") || dataType.equalsIgnoreCase("number")) { builder.add("type", dataType.toLowerCase()); applyFacet(simpleTypeDefinition, builder, "maximum", XSSimpleTypeDefinition.FACET_MAXINCLUSIVE); applyFacet(simpleTypeDefinition, builder, "minimum", XSSimpleTypeDefinition.FACET_MININCLUSIVE); applyFacet(simpleTypeDefinition, builder, "exclusiveMaximum", XSSimpleTypeDefinition.FACET_MAXEXCLUSIVE); applyFacet(simpleTypeDefinition, builder, "exclusiveMinimum", XSSimpleTypeDefinition.FACET_MINEXCLUSIVE); applyFacet(simpleTypeDefinition, builder, "enum", XSSimpleTypeDefinition.FACET_ENUMERATION); } else if (dataType.equalsIgnoreCase("boolean")) { builder.add("type", "boolean"); } else if (dataType.equalsIgnoreCase("string")) { builder.add("type", "string"); applyFacet(simpleTypeDefinition, builder, "maxLength", XSSimpleTypeDefinition.FACET_MAXLENGTH); applyFacet(simpleTypeDefinition, builder, "minLength", XSSimpleTypeDefinition.FACET_MINLENGTH); applyFacet(simpleTypeDefinition, builder, "pattern", XSSimpleTypeDefinition.FACET_PATTERN); applyFacet(simpleTypeDefinition, builder, "enum", XSSimpleTypeDefinition.FACET_ENUMERATION); } else if (dataType.equalsIgnoreCase("date") || dataType.equalsIgnoreCase("date-time") || dataType.equalsIgnoreCase("time")) { builder.add("type", "string"); builder.add("format", dataType); applyFacet(simpleTypeDefinition, builder, "pattern", XSSimpleTypeDefinition.FACET_PATTERN); applyFacet(simpleTypeDefinition, builder, "enum", XSSimpleTypeDefinition.FACET_ENUMERATION); } }
Example #10
Source File: WorkflowReminder.java From openemm with GNU Affero General Public License v3.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("recipients", recipients) .append("senderAdminId", senderAdminId) .append("type", type) .append("message", message) .append("date", date) .toString(); }
Example #11
Source File: ITCHSession.java From sailfish-core with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this). appendSuper(super.toString()). append("seqNum", seqnum). append("marketDataGroup", marketDataGroup). toString(); }
Example #12
Source File: FilterSessionWord.java From VocabHunter with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("wordIdentifier", wordIdentifier) .append("state", state) .toString(); }
Example #13
Source File: Change.java From obevo with Apache License 2.0 | 5 votes |
ToStringBuilder toStringBuilder() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append(this.getSchema()) .append(this.getChangeName()) .append(this.getObjectName()) .append(this.getChangeType()) .append(this.getConvertedContent()) .append(this.getContentHash()) .append(this.getOrderWithinObject()) ; }
Example #14
Source File: AgainstProposalData.java From cia with Apache License 2.0 | 5 votes |
@Override public final String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE); }
Example #15
Source File: Edge.java From jpa-unit with Apache License 2.0 | 5 votes |
public String asString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", getId()); builder.append("labels", getLabels()); builder.append("from", from); builder.append("to", to); builder.append("attributes", getAttributes()); return builder.build(); }
Example #16
Source File: MailMessage.java From MultimediaDesktop with Apache License 2.0 | 5 votes |
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
Example #17
Source File: MarginInitialBalances.java From td-ameritrade-client with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("accruedInterest", accruedInterest) .append("availableFundsNonMarginableTrade", availableFundsNonMarginableTrade) .append("bondValue", bondValue) .append("buyingPower", buyingPower) .append("cashBalance", cashBalance) .append("cashAvailableForTrading", cashAvailableForTrading) .append("cashReceipts", cashReceipts) .append("dayTradingBuyingPower", dayTradingBuyingPower) .append("dayTradingBuyingPowerCall", dayTradingBuyingPowerCall) .append("dayTradingEquityCall", dayTradingEquityCall) .append("equity", equity) .append("equityPercentage", equityPercentage) .append("liquidationValue", liquidationValue) .append("longMarginValue", longMarginValue) .append("longOptionMarketValue", longOptionMarketValue) .append("longStockValue", longStockValue) .append("maintenanceCall", maintenanceCall) .append("maintenanceRequirement", maintenanceRequirement) .append("margin", margin) .append("marginEquity", marginEquity) .append("moneyMarketFund", moneyMarketFund) .append("mutualFundValue", mutualFundValue) .append("regTCall", regTCall) .append("shortMarginValue", shortMarginValue) .append("shortOptionMarketValue", shortOptionMarketValue) .append("shortStockValue", shortStockValue) .append("totalCash", totalCash) .append("isInCall", isInCall) .append("unsettledCash", unsettledCash) .append("pendingDeposits", pendingDeposits) .append("marginBalance", marginBalance) .append("shortBalance", shortBalance) .append("accountValue", accountValue) .append("otherFields", otherFields) .toString(); }
Example #18
Source File: UserPrize.java From xmfcn-spring-cloud with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("type", type) .append("name", name) .append("imgUrl", imgUrl) .toString(); }
Example #19
Source File: ProjectCaseDebug.java From LuckyFrameWeb with GNU Affero General Public License v3.0 | 5 votes |
public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("debugId", getDebugId()) .append("caseId", getCaseId()) .append("userId", getUserId()) .append("debugIsend", getDebugIsend()) .append("logLevel", getLogLevel()) .append("logDetail", getLogDetail()) .toString(); }
Example #20
Source File: Comment.java From xmfcn-spring-cloud with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("openId", openId) .append("type", type) .append("content", content) .append("photoUrl", photoUrl) .append("nickName", nickName) .append("bizId", bizId) .toString(); }
Example #21
Source File: GoogleMfaAuthAccount.java From syncope with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("key", key) .append("secretKey", secretKey) .append("owner", owner) .append("scratchCodes", scratchCodes) .append("registrationDate", registrationDate) .append("validationCode", validationCode) .toString(); }
Example #22
Source File: HibernateApiMultiEagerCollectionFetchStrategyTest.java From hibernate-master-class with Apache License 2.0 | 5 votes |
@Override public String toString() { ToStringBuilder tsb = new ToStringBuilder(this); tsb.append("id", id); tsb.append("type", type); tsb.append("image", image); return tsb.toString(); }
Example #23
Source File: DT1.java From riiablo with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("x", x) .append("y", y) //.append("zeros1", Arrays.toString(zeros1)) .append("gridX", gridX) .append("gridY", gridY) .append("format", format) .append("length", length) //.append("zeros2", Arrays.toString(zeros2)) .append("fileOffset", "0x" + Integer.toHexString(fileOffset)) .toString(); }
Example #24
Source File: JVariable.java From jadira with Apache License 2.0 | 5 votes |
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("name", this.getName()); builder.append("type", this.getType()); builder.append("enclosingType", this.getEnclosingType()); return builder.toString(); }
Example #25
Source File: JpaAuditUserServiceMetadata.java From gvnix with GNU General Public License v3.0 | 5 votes |
public String toString() { final ToStringBuilder builder = new ToStringBuilder(this); builder.append("identifier", getId()); builder.append("valid", valid); builder.append("aspectName", aspectName); builder.append("destinationType", destination); builder.append("governor", governorPhysicalTypeMetadata.getId()); builder.append("itdTypeDetails", itdTypeDetails); return builder.toString(); }
Example #26
Source File: GradableObject.java From sakai with Educational Community License v2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this) .append("id", this.id) .append("name", this.name) .append("sort", this.sortOrder) .toString(); }
Example #27
Source File: ProgressVO.java From youran with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.JSON_STYLE) .append("sessionId", sessionId) .append("status", status) .append("percentage", percentage) .append("msg", msg) .toString(); }
Example #28
Source File: OrderBook.java From java-sdk with Apache License 2.0 | 5 votes |
@Override public String toString() { return new ToStringBuilder(this, BinanceDexConstants.BINANCE_DEX_TO_STRING_STYLE) .append("asks", asks) .append("bids", bids) .append("height", height) .append("pendingMatch", pendingMatch) .toString(); }
Example #29
Source File: CandidateEntity.java From inception with Apache License 2.0 | 4 votes |
@Override public String toString() { return new ToStringBuilder(this).append("handle", handle).append("features", features) .toString(); }
Example #30
Source File: Mario_zk_info.java From Mario with Apache License 2.0 | 4 votes |
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }