站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

PropertyGeneration (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.mapping
Class PropertyGeneration

java.lang.Object
  extended byorg.hibernate.mapping.PropertyGeneration
All Implemented Interfaces:
Serializable

public class PropertyGeneration
extends 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
See Also:
Serialized Form

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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEVER

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


INSERT

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


ALWAYS

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

Method Detail

getName

public String getName()

parse

public static PropertyGeneration parse(String name)

toString

public String toString()