List of usage examples for org.apache.commons.lang3.builder ToStringBuilder ToStringBuilder
public ToStringBuilder(final Object object, final ToStringStyle style)
Constructs a builder for the specified object using the a defined output style.
If the style is null
, the default style is used.
From source file:com.ibasco.agql.protocols.valve.steam.webapi.pojos.StoreAppPlatform.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE).append("windows", isWindowsSupported()) .append("mac", isMacSupported()).append("linux", isLinuxSupported()).toString(); }
From source file:de.kaiserpfalzEdv.office.contacts.address.phone.AreaCodeDO.java
public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendSuper(super.toString()) .append(country).build();/*ww w . j a va2 s . c o m*/ }
From source file:at.reinisoft.domain.LastChange.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)// .appendSuper(super.toString())// .append("date", getDate()).append("user", getUser())// .toString();/*from ww w . j ava 2 s.c o m*/ }
From source file:com.ibasco.agql.protocols.supercell.coc.webapi.pojos.CocAchievements.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE).append("name", getName()) .append("stars", getStars()).append("value", getValue()).append("target", getTarget()) .append("completionInfo", getCompletionInfo()).toString(); }
From source file:com.ibasco.agql.protocols.supercell.coc.webapi.pojos.CocLegendStatistics.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE) .append("legendTrophies", getLegendTrophies()).append("currentSeason", getCurrentSeason()) .append("previousSeason", getPreviousSeason()).append("bestSeason", getBestSeason()).toString(); }
From source file:ca.uhn.fhir.util.ResourceReferenceInfo.java
@Override public String toString() { ToStringBuilder b = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); b.append("name", myName); b.append("resource", myResource.getReferenceElement()); return b.build(); }
From source file:com.textocat.textokit.eval.matching.CollectionFeatureMatcherBase.java
@Override protected String toString(IdentityHashMap<Matcher<?>, Integer> idMap) { idMap.put(this, getNextId(idMap)); return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("feature", feature) .append("elemMatcher", getToString(idMap, elemMatcher)).append("ignoreOrder", ignoreOrder) .toString();/*from w w w .j a v a 2 s. c o m*/ }
From source file:com.ibasco.agql.protocols.valve.steam.webapi.pojos.SteamEconPlayerItemAttribute.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE).append("defindex", getDefIndex()) .append("value", getValue()).append("floatValue", getFloatValue()) .append("accountInfo", getAccountInfo()).toString(); }
From source file:com.ibasco.agql.protocols.valve.steam.webapi.pojos.StoreAppPriceInfo.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE).append("currency", getCurrency()) .append("initialPrice", getInitialPrice()).append("finalPrice", getFinalPrice()) .append("discountPct", getDiscountPercent()).toString(); }
From source file:com.github.cric.common.service.cripapi.RawMatch.java
@Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("matchId", matchId) .append("matchStarted", matchStarted).append("firstTeam", firstTeam) .append("secondTeam", secondTeam).append("date", date).build(); }