PalmRecord概要

データベースに含まれるレコードの1つを表す

要求

require 'palm'

クラスメソッド

open(attr,category,contents)
new(attr,category,contents)
create(attr,category,contents)
新しいレコードを作る

メソッド

id
レコードのidを返す。(R)
attr
レコードの属性 (R/W)

  dlpRecAttrDeleted = 0x80, /* tagged for deletion during next sync */
  dlpRecAttrDirty   = 0x40, /* record modified */
  dlpRecAttrBusy    = 0x20, /* record locked  */
  dlpRecAttrSecret  = 0x10, /* record is secret*/
  dlpRecAttrArchived= 0x08 /* tagged for archival during next sync*/
category
レコードのカテゴリ(R/W)
contents
レコードの中身。ここがメイン。(R/W)