EPrint Object

From EPrints Documentation
Revision as of 16:52, 5 January 2007 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Data Object representing a single EPrint record.

It belongs to the "eprint" dataset.

In the API it is represented as an instace of EPrints::DataObj::EPrint

Metadata Fields

= Built in Fields

       { name=>"dir", type=>"text", required=>0, can_clone=>0,
               text_index=>0, import=>0, show_in_fieldlist=>0 },
       { name=>"datestamp", type=>"time", required=>0, import=>0,
               render_res=>"minute", render_style=>"short", can_clone=>0 },
       { name=>"lastmod", type=>"time", required=>0, import=>0,
               render_res=>"minute", render_style=>"short", can_clone=>0 },
       { name=>"status_changed", type=>"time", required=>0, import=>0,
               render_res=>"minute", render_style=>"short", can_clone=>0 },
       { name=>"type", type=>"namedset", set_name=>"eprint", required=>1,
               "input_style"=> "long" },
       { name=>"succeeds", type=>"itemref", required=>0,
               datasetid=>"eprint", can_clone=>0 },
       { name=>"commentary", type=>"itemref", required=>0,
               datasetid=>"eprint", can_clone=>0 },
       { name=>"replacedby", type=>"itemref", required=>0,
               datasetid=>"eprint", can_clone=>0 },
       # empty string: normal visibility
       # no_search: does not appear on search/view pages.
       # to hide... well, the dark dataset should appear in 3.1 or 3.2
       { name=>"metadata_visibility", type=>"set", required=>1,
               options=>[ "show", "no_search" ] },
       { name=>"contact_email", type=>"email", required=>0, can_clone=>0 },
{ name=>"fileinfo", type=>"longtext",
               render_value=>"EPrints::DataObj::EPrint::render_fileinfo" },
       { name=>"latitude", type=>"float", required=>0 },
       { name=>"longitude", type=>"float", required=>0 },