2 * Copyright (C) 2016, 2017 Roland Häder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Affero General Public License as
6 * published by the Free Software Foundation, either version 3 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Affero General Public License for more details.
14 * You should have received a copy of the GNU Affero General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jfinancials.beans.financial.model.income;
19 import java.io.Serializable;
20 import java.util.List;
21 import org.mxchange.jfinancials.model.income.interval.FinancialInterval;
24 * An administrative interface for financial income beans
26 * @author Roland Häder<roland@mxchange.org>
28 public interface FinancialsIncomeWebRequestController extends Serializable {
31 * Getter for income single amount
33 * @return Income single amount
35 Float getIncomeSingleAmount ();
38 * Setter for income single amount
40 * @param incomeSingleAmount Income single amount
42 void setIncomeSingleAmount (final Float incomeSingleAmount);
45 * Getter for income (type) title
47 * @return Income title
49 String getIncomeTitle ();
52 * Setter for income (type) title
54 * @param incomeTitle Income title
56 void setIncomeTitle (final String incomeTitle);
59 * Getter for income interval
61 * @return Income interval
63 FinancialInterval getIncomeInterval ();
66 * Setter for income (type) interval
68 * @param incomeInterval Income interval
70 void setIncomeInterval (final FinancialInterval incomeInterval);
73 * Returns a list of all all income intervals
75 * @return Income intervals
77 List<FinancialInterval> allIncomeIntervals ();