edu.internet2.middleware.grouper.flat
Class FlatStem

java.lang.Object
  extended by edu.internet2.middleware.grouper.GrouperAPI
      extended by edu.internet2.middleware.grouper.flat.FlatStem
All Implemented Interfaces:
HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, java.io.Serializable, org.hibernate.classic.Lifecycle

public class FlatStem
extends GrouperAPI
implements Hib3GrouperVersioned

Author:
shilen $Id: FlatStem.java 6410 2010-03-12 19:31:40Z shilen $
See Also:
Serialized Form

Field Summary
static java.lang.String COLUMN_CONTEXT_ID
          Context id links together multiple operations into one high level action
static java.lang.String COLUMN_HIBERNATE_VERSION_NUMBER
          hibernate version
static java.lang.String COLUMN_ID
          db id for this row
static java.lang.String COLUMN_STEM_ID
          stem id foreign key in grouper_stems table
static java.lang.String FIELD_CONTEXT_ID
          constant for field name for: contextId
static java.lang.String FIELD_ID
          constant for field name for: id
static java.lang.String FIELD_STEM_ID
          constant for field name for: stemId
static java.lang.String TABLE_GROUPER_FLAT_STEMS
          name of the table in the database.
 
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI
FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
FlatStem()
           
 
Method Summary
 GrouperAPI clone()
          deep clone the fields in this object
 void delete()
          delete this object
 java.lang.String getContextId()
           
 java.lang.String getId()
           
 java.lang.String getStemId()
           
 void saveOrUpdate()
          save or update this object
 void setContextId(java.lang.String contextId)
          set context id
 void setId(java.lang.String id)
          set id
 void setStemId(java.lang.String stemId)
          Set stem id foreign key in grouper_stems table
 
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_ID

public static final java.lang.String COLUMN_ID
db id for this row

See Also:
Constant Field Values

COLUMN_CONTEXT_ID

public static final java.lang.String COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action

See Also:
Constant Field Values

COLUMN_STEM_ID

public static final java.lang.String COLUMN_STEM_ID
stem id foreign key in grouper_stems table

See Also:
Constant Field Values

COLUMN_HIBERNATE_VERSION_NUMBER

public static final java.lang.String COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version

See Also:
Constant Field Values

FIELD_CONTEXT_ID

public static final java.lang.String FIELD_CONTEXT_ID
constant for field name for: contextId

See Also:
Constant Field Values

FIELD_ID

public static final java.lang.String FIELD_ID
constant for field name for: id

See Also:
Constant Field Values

FIELD_STEM_ID

public static final java.lang.String FIELD_STEM_ID
constant for field name for: stemId

See Also:
Constant Field Values

TABLE_GROUPER_FLAT_STEMS

public static final java.lang.String TABLE_GROUPER_FLAT_STEMS
name of the table in the database.

See Also:
Constant Field Values
Constructor Detail

FlatStem

public FlatStem()
Method Detail

clone

public GrouperAPI clone()
Description copied from class: GrouperAPI
deep clone the fields in this object

Specified by:
clone in interface GrouperCloneable
Specified by:
clone in class GrouperAPI
Returns:
the clone of the object
See Also:
GrouperAPI.clone()

getContextId

public java.lang.String getContextId()
Returns:
context id

setContextId

public void setContextId(java.lang.String contextId)
set context id

Parameters:
contextId -

getId

public java.lang.String getId()
Returns:
id

setId

public void setId(java.lang.String id)
set id

Parameters:
id -

getStemId

public java.lang.String getStemId()
Returns:
stem id foreign key in grouper_stems table

setStemId

public void setStemId(java.lang.String stemId)
Set stem id foreign key in grouper_stems table

Parameters:
stemId -

saveOrUpdate

public void saveOrUpdate()
save or update this object


delete

public void delete()
delete this object