Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(128);
buf.append("AccessTokenResult{");
buf.append("accessToken").append('=').append(accessToken).append(',').append(' ');
buf.append("tokenType").append('=').append(tokenType).append(',').append(' ');
buf.append("accessToken").append('=').append(JodaBeanUtils.toString(accessToken)).append(',').append(' ');
buf.append("tokenType").append('=').append(JodaBeanUtils.toString(tokenType)).append(',').append(' ');
buf.append("expiresIn").append('=').append(JodaBeanUtils.toString(expiresIn));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(96);
buf.append("ApiKeyCredentials{");
buf.append("apiKey").append('=').append(apiKey).append(',').append(' ');
buf.append("apiKey").append('=').append(JodaBeanUtils.toString(apiKey)).append(',').append(' ');
buf.append("secret").append('=').append(JodaBeanUtils.toString(secret));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public static CcpInfo of(
String defaultCurrency,
List<String> reportingCurrencies,
List<String> calculationCurrencies) {

return new CcpInfo(
valuationDates,
defaultCurrency,
Expand Down Expand Up @@ -261,11 +262,11 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(224);
buf.append("CcpInfo{");
buf.append("valuationDates").append('=').append(valuationDates).append(',').append(' ');
buf.append("defaultCurrency").append('=').append(defaultCurrency).append(',').append(' ');
buf.append("reportingCurrencies").append('=').append(reportingCurrencies).append(',').append(' ');
buf.append("calculationCurrencies").append('=').append(calculationCurrencies).append(',').append(' ');
buf.append("calculationTypes").append('=').append(calculationTypes).append(',').append(' ');
buf.append("valuationDates").append('=').append(JodaBeanUtils.toString(valuationDates)).append(',').append(' ');
buf.append("defaultCurrency").append('=').append(JodaBeanUtils.toString(defaultCurrency)).append(',').append(' ');
buf.append("reportingCurrencies").append('=').append(JodaBeanUtils.toString(reportingCurrencies)).append(',').append(' ');
buf.append("calculationCurrencies").append('=').append(JodaBeanUtils.toString(calculationCurrencies)).append(',').append(' ');
buf.append("calculationTypes").append('=').append(JodaBeanUtils.toString(calculationTypes)).append(',').append(' ');
buf.append("calculationModes").append('=').append(JodaBeanUtils.toString(calculationModes));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("ErrorMessage{");
buf.append("status").append('=').append(status).append(',').append(' ');
buf.append("reason").append('=').append(reason).append(',').append(' ');
buf.append("message").append('=').append(message).append(',').append(' ');
buf.append("status").append('=').append(JodaBeanUtils.toString(status)).append(',').append(' ');
buf.append("reason").append('=').append(JodaBeanUtils.toString(reason)).append(',').append(' ');
buf.append("message").append('=').append(JodaBeanUtils.toString(message)).append(',').append(' ');
buf.append("type").append('=').append(JodaBeanUtils.toString(type));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,13 @@ public int hashCode() {

@Override
public String toString() {
StringBuilder buf = new StringBuilder(160);
StringBuilder buf = new StringBuilder(192);
buf.append("LchMarginDetail{");
buf.append("totalMargin").append('=').append(totalMargin).append(',').append(' ');
buf.append("baseScenarioIds").append('=').append(baseScenarioIds).append(',').append(' ');
buf.append("indices").append('=').append(indices).append(',').append(' ');
buf.append("scenarios").append('=').append(JodaBeanUtils.toString(scenarios));
buf.append("totalMargin").append('=').append(JodaBeanUtils.toString(totalMargin)).append(',').append(' ');
buf.append("baseScenarioIds").append('=').append(JodaBeanUtils.toString(baseScenarioIds)).append(',').append(' ');
buf.append("indices").append('=').append(JodaBeanUtils.toString(indices)).append(',').append(' ');
buf.append("scenarios").append('=').append(JodaBeanUtils.toString(scenarios)).append(',').append(' ');
buf.append("ccp").append('=').append(JodaBeanUtils.toString(getCcp()));
buf.append('}');
return buf.toString();
}
Expand Down Expand Up @@ -403,12 +404,13 @@ public LchMarginDetail build() {
//-----------------------------------------------------------------------
@Override
public String toString() {
StringBuilder buf = new StringBuilder(160);
StringBuilder buf = new StringBuilder(192);
buf.append("LchMarginDetail.Builder{");
buf.append("totalMargin").append('=').append(JodaBeanUtils.toString(totalMargin)).append(',').append(' ');
buf.append("baseScenarioIds").append('=').append(JodaBeanUtils.toString(baseScenarioIds)).append(',').append(' ');
buf.append("indices").append('=').append(JodaBeanUtils.toString(indices)).append(',').append(' ');
buf.append("scenarios").append('=').append(JodaBeanUtils.toString(scenarios));
buf.append("scenarios").append('=').append(JodaBeanUtils.toString(scenarios)).append(',').append(' ');
buf.append("ccp").append('=').append(JodaBeanUtils.toString(null));
buf.append('}');
return buf.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("LchMarginIndex{");
buf.append("indexName").append('=').append(indexName).append(',').append(' ');
buf.append("diversifiedBaseMargin").append('=').append(diversifiedBaseMargin).append(',').append(' ');
buf.append("undiversifiedBaseMargin").append('=').append(undiversifiedBaseMargin).append(',').append(' ');
buf.append("indexName").append('=').append(JodaBeanUtils.toString(indexName)).append(',').append(' ');
buf.append("diversifiedBaseMargin").append('=').append(JodaBeanUtils.toString(diversifiedBaseMargin)).append(',').append(' ');
buf.append("undiversifiedBaseMargin").append('=').append(JodaBeanUtils.toString(undiversifiedBaseMargin)).append(',').append(' ');
buf.append("indexScenarioIds").append('=').append(JodaBeanUtils.toString(indexScenarioIds));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("LchMarginScenario{");
buf.append("id").append('=').append(id).append(',').append(' ');
buf.append("date").append('=').append(date).append(',').append(' ');
buf.append("scaledPortfolioPnl").append('=').append(scaledPortfolioPnl).append(',').append(' ');
buf.append("id").append('=').append(JodaBeanUtils.toString(id)).append(',').append(' ');
buf.append("date").append('=').append(JodaBeanUtils.toString(date)).append(',').append(' ');
buf.append("scaledPortfolioPnl").append('=').append(JodaBeanUtils.toString(scaledPortfolioPnl)).append(',').append(' ');
buf.append("unscaledPortfolioPnl").append('=').append(JodaBeanUtils.toString(unscaledPortfolioPnl));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("MarginBreakdown{");
buf.append("totalMargin").append('=').append(totalMargin).append(',').append(' ');
buf.append("baseMargin").append('=').append(baseMargin).append(',').append(' ');
buf.append("addOns").append('=').append(addOns).append(',').append(' ');
buf.append("totalMargin").append('=').append(JodaBeanUtils.toString(totalMargin)).append(',').append(' ');
buf.append("baseMargin").append('=').append(JodaBeanUtils.toString(baseMargin)).append(',').append(' ');
buf.append("addOns").append('=').append(JodaBeanUtils.toString(addOns)).append(',').append(' ');
buf.append("netLiquidatingValue").append('=').append(JodaBeanUtils.toString(netLiquidatingValue));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,14 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(320);
buf.append("MarginCalcRequest{");
buf.append("calculationTypes").append('=').append(calculationTypes).append(',').append(' ');
buf.append("mode").append('=').append(mode).append(',').append(' ');
buf.append("valuationDate").append('=').append(valuationDate).append(',').append(' ');
buf.append("applyClientMultiplier").append('=').append(applyClientMultiplier).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(reportingCurrency).append(',').append(' ');
buf.append("calculationCurrency").append('=').append(calculationCurrency).append(',').append(' ');
buf.append("portfolioData").append('=').append(portfolioData).append(',').append(' ');
buf.append("fpmlPartySelectionRegex").append('=').append(fpmlPartySelectionRegex).append(',').append(' ');
buf.append("calculationTypes").append('=').append(JodaBeanUtils.toString(calculationTypes)).append(',').append(' ');
buf.append("mode").append('=').append(JodaBeanUtils.toString(mode)).append(',').append(' ');
buf.append("valuationDate").append('=').append(JodaBeanUtils.toString(valuationDate)).append(',').append(' ');
buf.append("applyClientMultiplier").append('=').append(JodaBeanUtils.toString(applyClientMultiplier)).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(JodaBeanUtils.toString(reportingCurrency)).append(',').append(' ');
buf.append("calculationCurrency").append('=').append(JodaBeanUtils.toString(calculationCurrency)).append(',').append(' ');
buf.append("portfolioData").append('=').append(JodaBeanUtils.toString(portfolioData)).append(',').append(' ');
buf.append("fpmlPartySelectionRegex").append('=').append(JodaBeanUtils.toString(fpmlPartySelectionRegex)).append(',').append(' ');
buf.append("portfolioOwnerCode").append('=').append(JodaBeanUtils.toString(portfolioOwnerCode));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,17 +421,17 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(416);
buf.append("MarginCalcResult{");
buf.append("status").append('=').append(status).append(',').append(' ');
buf.append("calculationTypes").append('=').append(calculationTypes).append(',').append(' ');
buf.append("mode").append('=').append(mode).append(',').append(' ');
buf.append("valuationDate").append('=').append(valuationDate).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(reportingCurrency).append(',').append(' ');
buf.append("calculationCurrency").append('=').append(calculationCurrency).append(',').append(' ');
buf.append("applyClientMultiplier").append('=').append(applyClientMultiplier).append(',').append(' ');
buf.append("portfolioItems").append('=').append(portfolioItems).append(',').append(' ');
buf.append("margin").append('=').append(margin).append(',').append(' ');
buf.append("marginDetail").append('=').append(marginDetail).append(',').append(' ');
buf.append("tradeValuations").append('=').append(tradeValuations).append(',').append(' ');
buf.append("status").append('=').append(JodaBeanUtils.toString(status)).append(',').append(' ');
buf.append("calculationTypes").append('=').append(JodaBeanUtils.toString(calculationTypes)).append(',').append(' ');
buf.append("mode").append('=').append(JodaBeanUtils.toString(mode)).append(',').append(' ');
buf.append("valuationDate").append('=').append(JodaBeanUtils.toString(valuationDate)).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(JodaBeanUtils.toString(reportingCurrency)).append(',').append(' ');
buf.append("calculationCurrency").append('=').append(JodaBeanUtils.toString(calculationCurrency)).append(',').append(' ');
buf.append("applyClientMultiplier").append('=').append(JodaBeanUtils.toString(applyClientMultiplier)).append(',').append(' ');
buf.append("portfolioItems").append('=').append(JodaBeanUtils.toString(portfolioItems)).append(',').append(' ');
buf.append("margin").append('=').append(JodaBeanUtils.toString(margin)).append(',').append(' ');
buf.append("marginDetail").append('=').append(JodaBeanUtils.toString(marginDetail)).append(',').append(' ');
buf.append("tradeValuations").append('=').append(JodaBeanUtils.toString(tradeValuations)).append(',').append(' ');
buf.append("failures").append('=').append(JodaBeanUtils.toString(failures));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("MarginError{");
buf.append("reason").append('=').append(reason).append(',').append(' ');
buf.append("message").append('=').append(message).append(',').append(' ');
buf.append("type").append('=').append(type).append(',').append(' ');
buf.append("reason").append('=').append(JodaBeanUtils.toString(reason)).append(',').append(' ');
buf.append("message").append('=').append(JodaBeanUtils.toString(message)).append(',').append(' ');
buf.append("type").append('=').append(JodaBeanUtils.toString(type)).append(',').append(' ');
buf.append("attributes").append('=').append(JodaBeanUtils.toString(attributes));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(128);
buf.append("MarginSummary{");
buf.append("margin").append('=').append(margin).append(',').append(' ');
buf.append("marginDetails").append('=').append(marginDetails).append(',').append(' ');
buf.append("margin").append('=').append(JodaBeanUtils.toString(margin)).append(',').append(' ');
buf.append("marginDetails").append('=').append(JodaBeanUtils.toString(marginDetails)).append(',').append(' ');
buf.append("breakdown").append('=').append(JodaBeanUtils.toString(breakdown));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public static MarginWhatIfCalcResult of(
MarginSummary combinedSummary,
MarginSummary deltaSummary,
List<MarginError> failures) {

return new MarginWhatIfCalcResult(
status,
type.toCalculationTypes(),
Expand Down Expand Up @@ -407,14 +408,14 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(320);
buf.append("MarginWhatIfCalcResult{");
buf.append("status").append('=').append(status).append(',').append(' ');
buf.append("calculationTypes").append('=').append(calculationTypes).append(',').append(' ');
buf.append("valuationDate").append('=').append(valuationDate).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(reportingCurrency).append(',').append(' ');
buf.append("portfolioItems").append('=').append(portfolioItems).append(',').append(' ');
buf.append("baseSummary").append('=').append(baseSummary).append(',').append(' ');
buf.append("combinedSummary").append('=').append(combinedSummary).append(',').append(' ');
buf.append("deltaSummary").append('=').append(deltaSummary).append(',').append(' ');
buf.append("status").append('=').append(JodaBeanUtils.toString(status)).append(',').append(' ');
buf.append("calculationTypes").append('=').append(JodaBeanUtils.toString(calculationTypes)).append(',').append(' ');
buf.append("valuationDate").append('=').append(JodaBeanUtils.toString(valuationDate)).append(',').append(' ');
buf.append("reportingCurrency").append('=').append(JodaBeanUtils.toString(reportingCurrency)).append(',').append(' ');
buf.append("portfolioItems").append('=').append(JodaBeanUtils.toString(portfolioItems)).append(',').append(' ');
buf.append("baseSummary").append('=').append(JodaBeanUtils.toString(baseSummary)).append(',').append(' ');
buf.append("combinedSummary").append('=').append(JodaBeanUtils.toString(combinedSummary)).append(',').append(' ');
buf.append("deltaSummary").append('=').append(JodaBeanUtils.toString(deltaSummary)).append(',').append(' ');
buf.append("failures").append('=').append(JodaBeanUtils.toString(failures));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(96);
buf.append("NamedValue{");
buf.append("key").append('=').append(key).append(',').append(' ');
buf.append("key").append('=').append(JodaBeanUtils.toString(key)).append(',').append(' ');
buf.append("value").append('=').append(JodaBeanUtils.toString(value));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(96);
buf.append("PortfolioDataFile{");
buf.append("name").append('=').append(name).append(',').append(' ');
buf.append("name").append('=').append(JodaBeanUtils.toString(name)).append(',').append(' ');
buf.append("data").append('=').append(JodaBeanUtils.toString(data));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(128);
buf.append("PortfolioItemSummary{");
buf.append("id").append('=').append(id).append(',').append(' ');
buf.append("product").append('=').append(product).append(',').append(' ');
buf.append("id").append('=').append(JodaBeanUtils.toString(id)).append(',').append(' ');
buf.append("product").append('=').append(JodaBeanUtils.toString(product)).append(',').append(' ');
buf.append("description").append('=').append(JodaBeanUtils.toString(description));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(160);
buf.append("TradeCurveSensitivity{");
buf.append("curveName").append('=').append(curveName).append(',').append(' ');
buf.append("currency").append('=').append(currency).append(',').append(' ');
buf.append("sensitivity").append('=').append(sensitivity).append(',').append(' ');
buf.append("curveName").append('=').append(JodaBeanUtils.toString(curveName)).append(',').append(' ');
buf.append("currency").append('=').append(JodaBeanUtils.toString(currency)).append(',').append(' ');
buf.append("sensitivity").append('=').append(JodaBeanUtils.toString(sensitivity)).append(',').append(' ');
buf.append("tenorSensitivity").append('=').append(JodaBeanUtils.toString(tenorSensitivity));
buf.append('}');
return buf.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public int hashCode() {
public String toString() {
StringBuilder buf = new StringBuilder(96);
buf.append("TradeSensitivity{");
buf.append("sensitivity").append('=').append(sensitivity).append(',').append(' ');
buf.append("sensitivity").append('=').append(JodaBeanUtils.toString(sensitivity)).append(',').append(' ');
buf.append("curveSensitivity").append('=').append(JodaBeanUtils.toString(curveSensitivity));
buf.append('}');
return buf.toString();
Expand Down
Loading