edu.internet2.middleware.grouper.pit
Class PITAttributeDefName

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

public class PITAttributeDefName
extends GrouperPIT
implements Hib3GrouperVersioned

Author:
shilen $Id$
See Also:
Serialized Form

Field Summary
static String COLUMN_ATTRIBUTE_DEF_ID
          column
static String COLUMN_CONTEXT_ID
          Context id links together multiple operations into one high level action
static String COLUMN_ID
          db id for this row
static String COLUMN_NAME
          column
static String COLUMN_SOURCE_ID
          column
static String COLUMN_STEM_ID
          column
static String FIELD_ATTRIBUTE_DEF_ID
          constant for field name for: attributeDefId
static String FIELD_CONTEXT_ID
          constant for field name for: contextId
static String FIELD_ID
          constant for field name for: id
static String FIELD_NAME
          constant for field name for: name
static String FIELD_SOURCE_ID
          constant for field name for: sourceId
static String FIELD_STEM_ID
          constant for field name for: stemId
static String TABLE_GROUPER_PIT_ATTRIBUTE_DEF_NAME
          name of the table in the database.
 
Fields inherited from class edu.internet2.middleware.grouper.pit.GrouperPIT
COLUMN_ACTIVE, COLUMN_END_TIME, COLUMN_START_TIME, FIELD_ACTIVE_DB, FIELD_END_TIME_DB, FIELD_START_TIME_DB
 
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI
COLUMN_HIBERNATE_VERSION_NUMBER, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
PITAttributeDefName()
           
 
Method Summary
 GrouperAPI clone()
          deep clone the fields in this object
 void delete()
          delete this object
 String getAttributeDefId()
           
 String getContextId()
           
 String getId()
           
 String getName()
           
 String getNameDb()
           
 PITAttributeDef getPITAttributeDef()
           
 PITStem getPITStem()
           
 String getSourceId()
           
 String getStemId()
           
 void onPreDelete(HibernateSession hibernateSession)
          before a delete (insert) occurs
 void saveOrUpdate()
          save or update this object
 void setAttributeDefId(String attributeDefId)
           
 void setContextId(String contextId)
          set context id
 void setId(String id)
          set id
 void setNameDb(String name)
           
 void setSourceId(String sourceId)
          set source id
 void setStemId(String stemId)
           
 
Methods inherited from class edu.internet2.middleware.grouper.pit.GrouperPIT
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDb
 
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, 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 String COLUMN_ID
db id for this row

See Also:
Constant Field Values

COLUMN_CONTEXT_ID

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

See Also:
Constant Field Values

COLUMN_NAME

public static final String COLUMN_NAME
column

See Also:
Constant Field Values

COLUMN_STEM_ID

public static final String COLUMN_STEM_ID
column

See Also:
Constant Field Values

COLUMN_ATTRIBUTE_DEF_ID

public static final String COLUMN_ATTRIBUTE_DEF_ID
column

See Also:
Constant Field Values

COLUMN_SOURCE_ID

public static final String COLUMN_SOURCE_ID
column

See Also:
Constant Field Values

FIELD_SOURCE_ID

public static final String FIELD_SOURCE_ID
constant for field name for: sourceId

See Also:
Constant Field Values

FIELD_CONTEXT_ID

public static final String FIELD_CONTEXT_ID
constant for field name for: contextId

See Also:
Constant Field Values

FIELD_ID

public static final String FIELD_ID
constant for field name for: id

See Also:
Constant Field Values

FIELD_NAME

public static final String FIELD_NAME
constant for field name for: name

See Also:
Constant Field Values

FIELD_STEM_ID

public static final String FIELD_STEM_ID
constant for field name for: stemId

See Also:
Constant Field Values

FIELD_ATTRIBUTE_DEF_ID

public static final String FIELD_ATTRIBUTE_DEF_ID
constant for field name for: attributeDefId

See Also:
Constant Field Values

TABLE_GROUPER_PIT_ATTRIBUTE_DEF_NAME

public static final String TABLE_GROUPER_PIT_ATTRIBUTE_DEF_NAME
name of the table in the database.

See Also:
Constant Field Values
Constructor Detail

PITAttributeDefName

public PITAttributeDefName()
Method Detail

getSourceId

public String getSourceId()
Returns:
source id

setSourceId

public void setSourceId(String sourceId)
set source id

Parameters:
sourceId -

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 String getContextId()
Returns:
context id

setContextId

public void setContextId(String contextId)
set context id

Parameters:
contextId -

getId

public String getId()
Returns:
id

setId

public void setId(String id)
set id

Parameters:
id -

getAttributeDefId

public String getAttributeDefId()
Returns:
attributeDefId

setAttributeDefId

public void setAttributeDefId(String attributeDefId)
Parameters:
attributeDefId -

getStemId

public String getStemId()
Returns:
stemId

setStemId

public void setStemId(String stemId)
Parameters:
stemId -

getName

public String getName()
Returns:
name

getNameDb

public String getNameDb()
Returns:
name

setNameDb

public void setNameDb(String name)
Parameters:
name -

saveOrUpdate

public void saveOrUpdate()
save or update this object


delete

public void delete()
delete this object


onPreDelete

public void onPreDelete(HibernateSession hibernateSession)
Description copied from interface: HibGrouperLifecycle
before a delete (insert) occurs

Specified by:
onPreDelete in interface HibGrouperLifecycle
Overrides:
onPreDelete in class GrouperAPI
See Also:
GrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)

getPITAttributeDef

public PITAttributeDef getPITAttributeDef()
Returns:
pitAttributeDef

getPITStem

public PITStem getPITStem()
Returns:
pitStem