Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.legacy
Class Fum  view Fum download Fum.java

java.lang.Object
  extended byorg.hibernate.test.legacy.Fum
All Implemented Interfaces:
org.hibernate.classic.Lifecycle, java.io.Serializable

public class Fum
extends java.lang.Object
implements org.hibernate.classic.Lifecycle, java.io.Serializable


Nested Class Summary
static class Fum.MapComponent
           
 
Field Summary
private  short dupe
           
private  Fum fo
           
private  java.util.Set friends
           
private  java.lang.String fum
           
private  FumCompositeID id
           
private  java.util.Calendar lastUpdated
           
private  Fum.MapComponent mapComponent
           
private  Qux[] quxArray
           
private  java.lang.String tString
           
private  short vid
           
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
Fum()
           
Fum(FumCompositeID id)
           
 
Method Summary
 short getDupe()
           
 Fum getFo()
           
 java.util.Set getFriends()
           
 java.lang.String getFum()
           
 FumCompositeID getId()
           
 java.util.Calendar getLastUpdated()
           
 Fum.MapComponent getMapComponent()
           
 Qux[] getQuxArray()
           
 java.lang.String getTString()
           
 boolean onDelete(org.hibernate.Session s)
          Called when an entity is deleted.
 void onLoad(org.hibernate.Session s, java.io.Serializable id)
          Called after an entity is loaded.
 boolean onSave(org.hibernate.Session s)
          Called when an entity is saved.
 boolean onUpdate(org.hibernate.Session s)
          Called when an entity is passed to Session.update().
 void setDupe(short s)
           
 void setFo(Fum fo)
           
 void setFriends(java.util.Set friends)
           
 void setFum(java.lang.String fum)
           
private  void setId(FumCompositeID id)
           
 void setLastUpdated(java.util.Calendar calendar)
           
 void setMapComponent(Fum.MapComponent mapComponent)
           
 void setQuxArray(Qux[] quxArray)
           
 void setTString(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fum

private java.lang.String fum

id

private FumCompositeID id

fo

private Fum fo

quxArray

private Qux[] quxArray

friends

private java.util.Set friends

lastUpdated

private java.util.Calendar lastUpdated

tString

private java.lang.String tString

vid

private short vid

dupe

private short dupe

mapComponent

private Fum.MapComponent mapComponent
Constructor Detail

Fum

public Fum()

Fum

public Fum(FumCompositeID id)
    throws java.sql.SQLException,
           org.hibernate.HibernateException
Method Detail

getFum

public java.lang.String getFum()

setFum

public void setFum(java.lang.String fum)

getId

public FumCompositeID getId()

setId

private void setId(FumCompositeID id)

getFo

public Fum getFo()

setFo

public void setFo(Fum fo)

getQuxArray

public Qux[] getQuxArray()

setQuxArray

public void setQuxArray(Qux[] quxArray)

getFriends

public java.util.Set getFriends()

setFriends

public void setFriends(java.util.Set friends)

onDelete

public boolean onDelete(org.hibernate.Session s)
                 throws org.hibernate.CallbackException
Description copied from interface: org.hibernate.classic.Lifecycle
Called when an entity is deleted.

Specified by:
onDelete in interface org.hibernate.classic.Lifecycle

onLoad

public void onLoad(org.hibernate.Session s,
                   java.io.Serializable id)
Description copied from interface: org.hibernate.classic.Lifecycle
Called after an entity is loaded. It is illegal to access the Session from inside this method. However, the object may keep a reference to the session for later use.

Specified by:
onLoad in interface org.hibernate.classic.Lifecycle

onSave

public boolean onSave(org.hibernate.Session s)
               throws org.hibernate.CallbackException
Description copied from interface: org.hibernate.classic.Lifecycle
Called when an entity is saved.

Specified by:
onSave in interface org.hibernate.classic.Lifecycle

onUpdate

public boolean onUpdate(org.hibernate.Session s)
                 throws org.hibernate.CallbackException
Description copied from interface: org.hibernate.classic.Lifecycle
Called when an entity is passed to Session.update(). This method is not called every time the object's state is persisted during a flush.

Specified by:
onUpdate in interface org.hibernate.classic.Lifecycle

getLastUpdated

public java.util.Calendar getLastUpdated()

setLastUpdated

public void setLastUpdated(java.util.Calendar calendar)

getTString

public java.lang.String getTString()

setTString

public void setTString(java.lang.String string)

getDupe

public short getDupe()

setDupe

public void setDupe(short s)

getMapComponent

public Fum.MapComponent getMapComponent()

setMapComponent

public void setMapComponent(Fum.MapComponent mapComponent)