Package it.tidalwave.accounting.role
Class LoadableSaveableAccounting
- java.lang.Object
-
- it.tidalwave.accounting.role.LoadableSaveableAccounting
-
@DciRole(datumType=it.tidalwave.accounting.model.Accounting.class) public class LoadableSaveableAccounting extends java.lang.Object implements Loadable, Saveable
- Author:
- Fabrizio Giudici
- Stereotype:
- role
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BLUEHOUR_FILE_NAME
-
Fields inherited from interface it.tidalwave.accounting.role.Loadable
_Loadable_
-
Fields inherited from interface it.tidalwave.accounting.role.Saveable
_Saveable_
-
-
Constructor Summary
Constructors Constructor Description LoadableSaveableAccounting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.file.Path
getDataFile()
Accounting
load()
Load from a default source.void
save()
Save to a default destination.
-
-
-
Field Detail
-
BLUEHOUR_FILE_NAME
public static final java.lang.String BLUEHOUR_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public Accounting load() throws java.io.IOException
Load from a default source.
-
save
public void save() throws java.io.IOException
Save to a default destination.
-
getDataFile
@Nonnull protected java.nio.file.Path getDataFile()
-
-