public class ValidatedPortfolioLineImpl extends Object implements ValidatedPortfolioLine
Constructor and Description |
---|
ValidatedPortfolioLineImpl(ExistingPortfolioLine line,
Results results) |
Modifier and Type | Method and Description |
---|---|
void |
addIssue(Severity sev,
String ruleName,
String message) |
BigDecimal |
getAllocationWeight() |
String |
getAssetCode() |
String |
getAssetName() |
List<RuleIssue> |
getIssues() |
BigDecimal |
getPriceInPortfolioCcy() |
BigDecimal |
getQuantity() |
BigDecimal |
getValueInPortfolioCcy() |
boolean |
isValid() |
void |
setAllocationWeight(BigDecimal allocationWeight) |
String |
toString() |
public ValidatedPortfolioLineImpl(ExistingPortfolioLine line, Results results)
public String getAssetCode()
getAssetCode
in interface ExistingPortfolioLine
public String getAssetName()
getAssetName
in interface ExistingPortfolioLine
public BigDecimal getQuantity()
getQuantity
in interface ExistingPortfolioLine
public BigDecimal getPriceInPortfolioCcy()
getPriceInPortfolioCcy
in interface ExistingPortfolioLine
public BigDecimal getValueInPortfolioCcy()
getValueInPortfolioCcy
in interface ExistingPortfolioLine
public BigDecimal getAllocationWeight()
getAllocationWeight
in interface ValidatedPortfolioLine
public void setAllocationWeight(BigDecimal allocationWeight)
setAllocationWeight
in interface ValidatedPortfolioLine
public void addIssue(Severity sev, String ruleName, String message)
addIssue
in interface ValidatedPortfolioLine
public boolean isValid()
isValid
in interface ValidatedPortfolioLine
public List<RuleIssue> getIssues()
getIssues
in interface ValidatedPortfolioLine
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.