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 */ 
pub fn getParentOid(self: ContainerParent) -> int; 

ContainerParent::__all__

Data constraint method.

pub fn __all__(db: PropertiesDB) -> *ContainerParent; 

ContainerParent::getBelongedFolder

/** * @brief gets the folder which contains the file, if any. * @return Folder */ 
pub fn getBelongedFolder(self: ContainerParent) -> Folder;