Package com.mg105.data_control.access
Class MoveDataAccess
java.lang.Object
com.mg105.data_control.access.MoveDataAccess
This is a class mean to interact and get information about moves from a "database"
 
This class is really only here so PartyDataAccess does not violate Single Responsibility Principle and to help satisfy open and closed principle in PartyDataAccess
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NotNull MoveDetailsgetMoveDetails(String name) Returns an object that represents the details of the move desired
- 
Constructor Details- 
MoveDataAccesspublic MoveDataAccess()
 
- 
- 
Method Details- 
getMoveDetailsReturns an object that represents the details of the move desired- Parameters:
- name- the name of move to return the details of
- Returns:
- an object that represents the details of the move desired
- Throws:
- NoSuchElementException- iff the move's details are not found (move does not exist)
- See Also:
 
 
-