org.hibernate.mapping

Class PropertyGeneration

Implemented Interfaces:
Serializable

public class PropertyGeneration
extends java.lang.Object
implements Serializable

Indicates whether given properties are generated by the database and, if so, at what time(s) they are generated.
Author:
Steve Ebersole

Field Summary

static PropertyGeneration
ALWAYS
Values for this property are generated by the database on both insert and update.
static PropertyGeneration
INSERT
Values for this property are generated by the database on insert.
static PropertyGeneration
NEVER
Values for this property are never generated by the database.

Method Summary

String
getName()
static PropertyGeneration
parse(String name)
String
toString()

Field Details

ALWAYS

public static final PropertyGeneration ALWAYS
Values for this property are generated by the database on both insert and update.

INSERT

public static final PropertyGeneration INSERT
Values for this property are generated by the database on insert.

NEVER

public static final PropertyGeneration NEVER
Values for this property are never generated by the database.

Method Details

getName

public String getName()

parse

public static PropertyGeneration parse(String name)

toString

public String toString()