Entry

/**
* @brief A properties entry.
*/

Inherit from EntryDO

Primary key: element_oid: int

schema Entry extends EntryDO {
  @primary element_oid: int,
  key: string,
  value: string,
  printable_text: string,
  location_oid: int
}

Entry::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: Entry) -> Location;

Entry::getPrintableText

/**
* @brief gets the printable text of this element.
* @return string
*/
  • Parameter self: Entry
  • Return string
pub fn getPrintableText(self: Entry) -> string;

Entry::__all__

Data constraint method.

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

Entry::getLocationOid

/**
* @brief gets the location oid of this element.
* @return int
*/
  • Parameter self: Entry
  • Return int
pub fn getLocationOid(self: Entry) -> int;

Entry::getKey

/**
* @brief gets the key of this element.
* @return string
*/
  • Parameter self: Entry
  • Return string
pub fn getKey(self: Entry) -> string;

Entry::getValue

/**
* @brief gets the value of this element.
* @return string
*/
  • Parameter self: Entry
  • Return string
pub fn getValue(self: Entry) -> string;