5 * Abstract class for all data holder classes.
8 * @copyright 2001-2019 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package WoltLabSuite\Core\Data
12 interface IStorableObject
{
14 * Returns the value of a object data variable with the given name or `null` if no
15 * such data variable exists.
20 public function __get($name);
23 * Determines if the object data variable with the given name is set and
29 public function __isset($name);
32 * Returns the value of all object data variables.
36 public function getData();
39 * Returns the name of the database table.
43 public static function getDatabaseTableName();
46 * Returns the alias of the database table.
50 public static function getDatabaseTableAlias();
53 * Returns true if database table index is an identity column.
57 public static function getDatabaseTableIndexIsIdentity();
60 * Returns the name of the database table index.
64 public static function getDatabaseTableIndexName();