All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.test.domain.AutoIdInteger Maven / Gradle / Ivy

The newest version!
package com.jpattern.orm.test.domain;

import com.jpattern.orm.annotation.Generator;
import com.jpattern.orm.annotation.Id;
import com.jpattern.orm.annotation.Table;
import com.jpattern.orm.annotation.generator.GeneratorType;

/**
 * 
 * @author Francesco Cina'
 *
 * 26/ago/2011
 */
@Table(tableName="AUTO_ID")
public class AutoIdInteger {

	@Id
	//NOTE: do not add the ifValueIn for this object!! That could produce false test results!!
	@Generator(generatorType = GeneratorType.AUTOGENERATED, name="")
	private Integer id;
	private String value;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy