alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (Job.java)

This example Hibernate source code file (Job.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

job, job, jobbatch, jobbatch, long, long, string, string

The Hibernate Job.java source code

// $Id: Job.java 6663 2005-05-03 20:55:31Z steveebersole $
package org.hibernate.test.cascade;


/**
 * Implementation of Job.
 *
 * @author Steve Ebersole
 */
public class Job {
	private Long id;
	private JobBatch batch;
	private String processingInstructions;
	private int status;

	/** GCLIB constructor */
	Job() {}

	protected Job(JobBatch batch) {
		this.batch = batch;
	}

	public Long getId() {
		return id;
	}

	/*package*/ void setId(Long id) {
		this.id = id;
	}

	public JobBatch getBatch() {
		return batch;
	}

	/*package*/ void setBatch(JobBatch batch) {
		this.batch = batch;
	}

	public String getProcessingInstructions() {
		return processingInstructions;
	}

	public void setProcessingInstructions(String processingInstructions) {
		this.processingInstructions = processingInstructions;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Job.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.