Top Description Fields Constructors Methods
org.hibernate.mapping

public Class PropertyGeneration

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.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

Modifier and TypeField and Description
public static final PropertyGeneration
ALWAYS

Values for this property are generated by the database on both insert and update.

public static final PropertyGeneration
INSERT

Values for this property are generated by the database on insert.

private final String
public static final PropertyGeneration
NEVER

Values for this property are never generated by the database.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public static PropertyGeneration
parse(String name)

private Object
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

ALWAYSback to summary
public static final PropertyGeneration ALWAYS

Values for this property are generated by the database on both insert and update.

INSERTback to summary
public static final PropertyGeneration INSERT

Values for this property are generated by the database on insert.

nameback to summary
private final String name
NEVERback to summary
public static final PropertyGeneration NEVER

Values for this property are never generated by the database.

Constructor Detail

PropertyGenerationback to summary
private PropertyGeneration(String name)

Method Detail

getNameback to summary
public String getName()
parseback to summary
public static PropertyGeneration parse(String name)
readResolveback to summary
private Object readResolve()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.