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

org.hibernate.type.PrimitiveType Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
//$Id: PrimitiveType.java 4582 2004-09-25 11:22:20Z oneovthafew $
package org.hibernate.type;

import java.io.Serializable;

/**
 * Superclass of primitive / primitive wrapper types.
 * @author Gavin King
 */
public abstract class PrimitiveType extends ImmutableType implements LiteralType {

	public abstract Class getPrimitiveClass();

	public String toString(Object value) {
		return value.toString();
	}
	
	public abstract Serializable getDefaultValue();

}









© 2015 - 2024 Weber Informatics LLC | Privacy Policy