ContainerParent

/**
* @brief Describe a file belonged to a certain folder.
*/

Inherit from ContainerParentDO

Primary key: child_hash_id: int

schema ContainerParent extends ContainerParentDO {
  @primary child_hash_id: int,
  parent_hash_id: int
}

ContainerParent::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: ContainerParent) -> int;

ContainerParent::__all__

Data constraint method.

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

ContainerParent::getBelongedFolder

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