[Bio] / MGRASTBackend / MGRastJobCache / ObjectBase.pm Repository:
ViewVC logotype

View of /MGRASTBackend/MGRastJobCache/ObjectBase.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (download) (as text) (annotate) (vendor branch)
Thu Apr 30 16:38:02 2009 UTC (10 years, 7 months ago) by jared
Branch: jared, MAIN
CVS Tags: initial-version, HEAD
Changes since 1.1: +0 -0 lines
new dir

use strict;
use warnings;
no warnings qw(redefine);

1;

# this class is AUTOGENERATED and will be AUTOMATICALLY REGENERATED
# all work done in this module will be LOST


package MGRastJobCache::Job;

use DBObject;
use base qw(DBObject);

sub attributes {
     return {
		done => [ DB_SCALAR, undef, 0, undef ],
		server_version => [ DB_SCALAR, undef, 0, undef ],
		genome_bp_count => [ DB_SCALAR, undef, 0, undef ],
		size => [ DB_SCALAR, undef, 0, undef ],
		created_on => [ DB_SCALAR, undef, 0, undef ],
		public => [ DB_SCALAR, undef, 0, undef ],
		id => [ DB_SCALAR, undef, 1, undef ],
		project_name => [ DB_SCALAR, undef, 0, undef ],
		owner => [ DB_OBJECT, "WebServerBackend::User", 0, undef ],
		viewable => [ DB_SCALAR, undef, 0, undef ],
		last_modified => [ DB_SCALAR, undef, 0, undef ],
		active => [ DB_SCALAR, undef, 0, undef ],
		job_type => [ DB_SCALAR, undef, 0, undef ],
		genome_name => [ DB_SCALAR, undef, 0, undef ],
		type => [ DB_SCALAR, undef, 0, undef ],
		genome_id => [ DB_SCALAR, undef, 0, undef ],
		genome_contig_count => [ DB_SCALAR, undef, 0, undef ],
	};
}

sub unique_indices {
     return 
		[
			[ "id" ],
			[ "genome_id" ],
		];
}

sub indices {
     return 
		[
			[ "owner" ],
			[ "viewable" ],
		];
}

1;

package MGRastJobCache::Status;

use DBObject;
use base qw(DBObject);

sub attributes {
     return {
		stage => [ DB_SCALAR, undef, 1, undef ],
		status => [ DB_SCALAR, undef, 1, undef ],
		job => [ DB_OBJECT, "MG_jobcache::Job", 1, undef ],
	};
}

sub unique_indices {
     return 
		[
			[ "job", "stage" ],
		];
}

sub indices {
     return 
		[
			[ "job" ],
		];
}

1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3