ContainerParent
/** * @brief Describe a file belonged to a certain folder. */ Inherit from ContainerParentDO
Primary key: child_oid: int
schema ContainerParent extends ContainerParentDO { @primary child_oid: int, parent_oid: int } ContainerParent::getParentOid
/** * @brief gets the parent oid of this element. * @return int */ - Parameter
self:ContainerParent - Return
int
pub fn getParentOid(self: ContainerParent) -> int; ContainerParent::__all__
Data constraint method.
- Parameter
db:PropertiesDB - Return
*ContainerParent
pub fn __all__(db: PropertiesDB) -> *ContainerParent; ContainerParent::getBelongedFolder
/** * @brief gets the folder which contains the file, if any. * @return Folder */ - Parameter
self:ContainerParent - Return
Folder
pub fn getBelongedFolder(self: ContainerParent) -> Folder;