5 * Abstract class for all data holder classes.
8 * @copyright 2001-2018 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.
34 * @deprecated This method was introduced for a function in AJAXProxy that is deprecated.
37 public function getData();
40 * Returns the name of the database table.
44 public static function getDatabaseTableName();
47 * Returns the alias of the database table.
51 public static function getDatabaseTableAlias();
54 * Returns true if database table index is an identity column.
58 public static function getDatabaseTableIndexIsIdentity();
61 * Returns the name of the database table index.
65 public static function getDatabaseTableIndexName();