Class DatabaseObject
java.lang.Object
com.example.skeddly.business.database.DatabaseObject
- Direct Known Subclasses:
Event,Notification,Ticket,User
An object that is stored as a document in the DB.
Any values in its fields will be turned into DB keys by the
DatabaseHandler- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DatabaseObject
public DatabaseObject()Constructor for the DatabaseObject
-
-
Method Details
-
getId
Gets the ID of the object- Returns:
- A string of the id of the object
-
setId
Sets the ID of the object- Parameters:
id- The new ID
-
fetchDatabaseObjectRelatedMethods
Gets the related methods for a database object.- Returns:
- An array of all the methods
-