The Factory
The OME::Factory
class is used to query the
database, and to create and retrieve instances of the
various OME::DBObject
subclasses. The factory
object is created automatically by
the OME::Session
class when a user logs into the
OME system. (Sessions and the session manager are described
in more details in this other section over
here.) The current factory object can always be
retrieved with the following statement:
my $factory = OME::Session->instance()->Factory();
As mentioned earlier, the tables used to store the scientific data and metadata in OME are defined by semantic types. The core database types