source: trunk/loci/formats/auto/MetadataStore.vm @ 3977

Revision 3977, 2.5 KB checked in by curtis, 12 years ago (diff)

New autogenerator is done and produces compilable code! Time for testing.

Line 
1//
2// MetadataStore.java
3//
4
5/*
6LOCI Bio-Formats package for reading and converting biological file formats.
7Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan,
8Eric Kjellman and Brian Loranger.
9
10This program is free software; you can redistribute it and/or modify
11it under the terms of the GNU Library General Public License as published by
12the Free Software Foundation; either version 2 of the License, or
13(at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18GNU Library General Public License for more details.
19
20You should have received a copy of the GNU Library General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23*/
24
25/*-----------------------------------------------------------------------------
26 *
27 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY.
28 * Created by $user via MetadataAutogen on $timestamp
29 *
30 *-----------------------------------------------------------------------------
31 */
32
33package loci.formats.meta;
34
35/**
36 * A proxy whose responsibility it is to marshal biological image data into a
37 * particular storage medium.
38 *
39 * The <code>MetadataStore</code> interface encompasses the basic metadata that
40 * any specific storage medium (file, relational database, etc.) should be
41 * expected to store into its backing data model.
42 *
43 * <dl><dt><b>Source code:</b></dt>
44 * <dd><a href="https://skyking.microscopy.wisc.edu/trac/java/browser/trunk/loci/formats/meta/MetadataStore.java">Trac</a>,
45 * <a href="https://skyking.microscopy.wisc.edu/svn/java/trunk/loci/formats/meta/MetadataStore.java">SVN</a></dd></dl>
46 *
47 * @author Chris Allan callan at blackcat.ca
48 * @author Curtis Rueden ctrueden at wisc.edu
49 */
50public interface MetadataStore {
51
52  void createRoot();
53
54  Object getRoot();
55
56  void setRoot(Object root);
57#foreach ($entity in $q.entities())
58#set ($dummy = $q.setEntity($entity))
59
60  // - $entity property storage -
61#foreach ($prop in $q.props())
62#set ($dummy = $q.setProperty($prop))
63
64  /**
65   * For a particular $entity, sets $q.doc()
66   * @param $q.var($prop) $q.description()
67#foreach ($index in $q.indices())
68   * @param $q.var("${index}Index") index of the $index
69#end##foreach $index
70   */
71  void set$entity$prop($q.type() $q.var($prop), $q.argsList());
72#end##foreach $prop
73#end##foreach $entity
74
75}
Note: See TracBrowser for help on using the repository browser.