Search in sources :

Example 36 with Classification

use of name.abuchen.portfolio.model.Classification in project portfolio by buchen.

the class DataSeries method getSearchLabel.

public String getSearchLabel() {
    StringBuilder buf = new StringBuilder();
    buf.append(label);
    if (instance instanceof Classification) {
        Classification parent = ((Classification) instance).getParent();
        // $NON-NLS-1$ //$NON-NLS-2$
        buf.append(" (").append(parent.getPathName(true)).append(")");
    }
    if (isBenchmark())
        buf.append(Messages.ChartSeriesBenchmarkSuffix);
    return buf.toString();
}
Also used : Classification(name.abuchen.portfolio.model.Classification)

Aggregations

Classification (name.abuchen.portfolio.model.Classification)36 ArrayList (java.util.ArrayList)21 TestCurrencyConverter (name.abuchen.portfolio.TestCurrencyConverter)20 Client (name.abuchen.portfolio.model.Client)20 Taxonomy (name.abuchen.portfolio.model.Taxonomy)20 Test (org.junit.Test)20 IOException (java.io.IOException)18 Security (name.abuchen.portfolio.model.Security)17 PerformanceIndex (name.abuchen.portfolio.snapshot.PerformanceIndex)17 Collectors (java.util.stream.Collectors)16 AccountTransaction (name.abuchen.portfolio.model.AccountTransaction)16 ClientFactory (name.abuchen.portfolio.model.ClientFactory)16 CurrencyUnit (name.abuchen.portfolio.money.CurrencyUnit)16 LocalDate (java.time.LocalDate)15 LocalDateTime (java.time.LocalDateTime)15 List (java.util.List)15 Money (name.abuchen.portfolio.money.Money)15 Values (name.abuchen.portfolio.money.Values)15 ReportingPeriod (name.abuchen.portfolio.snapshot.ReportingPeriod)15 ClientClassificationFilter (name.abuchen.portfolio.snapshot.filter.ClientClassificationFilter)15