+
+Package entities
+Class CategoryCreatorInputData
+
+
+-
+
- java.lang.Object +
-
+
-
+
- entities.MonthObjectFactoryInputData +
-
+
-
+
- entities.CategoryCreatorInputData +
+
+
+
+-
+
-
+
+public class CategoryCreatorInputData +extends MonthObjectFactoryInputData
+A class that holds the input data for use by the CategoryFactory. It extends MonthObjectFactoryInputData, so that it + can be used in place of this type. It includes the name and budget that the new Category will have.+
+
+
+-
+
-
+
+
+ + +-
+
-
+
+
+
Constructor Summary
++
+Constructors ++ +Constructor +Description ++ + +CategoryCreatorInputData()
+
+ +-
+
-
+
+
+
Method Summary
++
+All Methods Instance Methods Concrete Methods ++ +Modifier and Type +Method +Description ++ + +double
+getBudget()
+ +Gets the budget of this CategoryCreatorInputData.++ + +java.lang.String
+getName()
+ +Gets the name of this CategoryCreatorInputData.++ + +void
+setBudget(double newBudget)
+ +Sets the budget of this CategoryCreatorInputData.++ + +void
+setName(java.lang.String name)
+ +Sets the name of this CategoryCreatorInputData.+-
+
-
+
+
+
Methods inherited from class java.lang.Object
+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+
+ -
+
+
+
+ -
+
+
+
+
+-
+
-
+
+
+ + + ++ +-
+
-
+
+
+
Method Detail
+ + + +-
+
-
+
setName
+public void setName(java.lang.String name)
+Sets the name of this CategoryCreatorInputData.+-
+
- Parameters: +
name
- the name that the Category will have
+
+
-
+
-
+
setBudget
+public void setBudget(double newBudget)
+Sets the budget of this CategoryCreatorInputData.+-
+
- Parameters: +
newBudget
- the budget that the Category will have
+
+
-
+
-
+
getName
+public java.lang.String getName()
+Gets the name of this CategoryCreatorInputData.+-
+
- Returns: +
- the name of this CategoryCreatorInputData +
+
-
+
-
+
getBudget
+public double getBudget()
+Gets the budget of this CategoryCreatorInputData.+-
+
- Returns: +
- the budget of this CategoryCreatorInputData +
+
+ -
+
+ -
+
+
+