public abstract static class Holding.Logic extends Object
Constructor and Description |
---|
Logic() |
Modifier and Type | Method and Description |
---|---|
static BigDecimal |
aggregateAmount(List<? extends Holding<?,?>> aListOfHoldings) |
static BigDecimal |
aggregateQuantity(List<? extends Holding<?,?>> aListOfHoldings) |
static Currency |
getDefaultCurreny() |
static Date |
getDefaultHoldingDate() |
static BigDecimal |
getImpliedAmount(Holding<?,?> aHolding) |
static BigDecimal |
getImpliedPrice(Holding<?,?> aHolding) |
static BigDecimal |
getImpliedQuantity(Holding<?,?> aHolding) |
static BigDecimal |
getWeight(Holding<?,?> aHolding) |
static String |
toDisplayString(Holding<?,?> aHolding) |
public static BigDecimal aggregateAmount(List<? extends Holding<?,?>> aListOfHoldings)
public static BigDecimal aggregateQuantity(List<? extends Holding<?,?>> aListOfHoldings)
public static Currency getDefaultCurreny()
public static Date getDefaultHoldingDate()
public static BigDecimal getImpliedAmount(Holding<?,?> aHolding)
public static BigDecimal getImpliedPrice(Holding<?,?> aHolding)
public static BigDecimal getImpliedQuantity(Holding<?,?> aHolding)
public static BigDecimal getWeight(Holding<?,?> aHolding)