edu.internet2.middleware.grouper.pit
Class PITAttributeAssignValue

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.PITAttributeAssignValue
All Implemented Interfaces:
HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, Serializable, org.hibernate.classic.Lifecycle

public class PITAttributeAssignValue
extends GrouperPIT
implements Hib3GrouperVersioned

Author:
shilen $Id$
See Also:
Serialized Form

Field Summary
static String COLUMN_ATTRIBUTE_ASSIGN_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_SOURCE_ID
          column
static String COLUMN_VALUE_FLOATING
          column
static String COLUMN_VALUE_INTEGER
          column
static String COLUMN_VALUE_MEMBER_ID
          column
static String COLUMN_VALUE_STRING
          column
static String FIELD_ATTRIBUTE_ASSIGN_ID
          constant for field name for: attributeAssignId
static String FIELD_CONTEXT_ID
          constant for field name for: contextId
static String FIELD_ID
          constant for field name for: id
static String FIELD_SOURCE_ID
          constant for field name for: sourceId
static String FIELD_VALUE_FLOATING
          constant for field name for: valueFloating
static String FIELD_VALUE_INTEGER
          constant for field name for: valueInteger
static String FIELD_VALUE_MEMBER_ID
          constant for field name for: valueMemberId
static String FIELD_VALUE_STRING
          constant for field name for: valueString
static String TABLE_GROUPER_PIT_ATTRIBUTE_ASSIGN_VALUE
          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
PITAttributeAssignValue()
           
 
Method Summary
 PITAttributeAssignValue clone()
          deep clone the fields in this object
 void delete()
          delete this object
 String getAttributeAssignId()
           
 String getContextId()
           
 String getId()
           
 PITAttributeAssign getPITAttributeAssign()
           
 String getSourceId()
           
 Double getValueFloating()
           
 Long getValueInteger()
           
 String getValueMemberId()
           
 String getValueString()
           
 void onPreDelete(HibernateSession hibernateSession)
          before a delete (insert) occurs
 void save()
          save this object
 void setAttributeAssign(PITAttributeAssign attributeAssign)
           
 void setAttributeAssignId(String attributeAssignId)
           
 void setContextId(String contextId)
           
 void setId(String id)
           
 void setSourceId(String sourceId)
          set source id
 void setValueFloating(Double valueFloating)
           
 void setValueInteger(Long valueInteger)
           
 void setValueMemberId(String valueMemberId)
           
 void setValueString(String valueString)
           
 void update()
          update this object
 String valueString()
           
 
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_ATTRIBUTE_ASSIGN_ID

public static final String COLUMN_ATTRIBUTE_ASSIGN_ID
column

See Also:
Constant Field Values

COLUMN_VALUE_STRING

public static final String COLUMN_VALUE_STRING
column

See Also:
Constant Field Values

COLUMN_VALUE_FLOATING

public static final String COLUMN_VALUE_FLOATING
column

See Also:
Constant Field Values

COLUMN_VALUE_INTEGER

public static final String COLUMN_VALUE_INTEGER
column

See Also:
Constant Field Values

COLUMN_VALUE_MEMBER_ID

public static final String COLUMN_VALUE_MEMBER_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_ATTRIBUTE_ASSIGN_ID

public static final String FIELD_ATTRIBUTE_ASSIGN_ID
constant for field name for: attributeAssignId

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_VALUE_FLOATING

public static final String FIELD_VALUE_FLOATING
constant for field name for: valueFloating

See Also:
Constant Field Values

FIELD_VALUE_INTEGER

public static final String FIELD_VALUE_INTEGER
constant for field name for: valueInteger

See Also:
Constant Field Values

FIELD_VALUE_MEMBER_ID

public static final String FIELD_VALUE_MEMBER_ID
constant for field name for: valueMemberId

See Also:
Constant Field Values

FIELD_VALUE_STRING

public static final String FIELD_VALUE_STRING
constant for field name for: valueString

See Also:
Constant Field Values

TABLE_GROUPER_PIT_ATTRIBUTE_ASSIGN_VALUE

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

See Also:
Constant Field Values
Constructor Detail

PITAttributeAssignValue

public PITAttributeAssignValue()
Method Detail

getSourceId

public String getSourceId()
Returns:
source id

setSourceId

public void setSourceId(String sourceId)
set source id

Parameters:
sourceId -

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getContextId

public String getContextId()
Returns:
the contextId

setContextId

public void setContextId(String contextId)
Parameters:
contextId - the contextId to set

getAttributeAssignId

public String getAttributeAssignId()
Returns:
the attributeAssignId

setAttributeAssignId

public void setAttributeAssignId(String attributeAssignId)
Parameters:
attributeAssignId - the attributeAssignId to set

getValueString

public String getValueString()
Returns:
the valueString

setValueString

public void setValueString(String valueString)
Parameters:
valueString - the valueString to set

getValueFloating

public Double getValueFloating()
Returns:
the valueFloating

setValueFloating

public void setValueFloating(Double valueFloating)
Parameters:
valueFloating - the valueFloating to set

getValueInteger

public Long getValueInteger()
Returns:
the valueInteger

setValueInteger

public void setValueInteger(Long valueInteger)
Parameters:
valueInteger - the valueInteger to set

getValueMemberId

public String getValueMemberId()
Returns:
the valueMemberId

setValueMemberId

public void setValueMemberId(String valueMemberId)
Parameters:
valueMemberId - the valueMemberId to set

getPITAttributeAssign

public PITAttributeAssign getPITAttributeAssign()
Returns:
the attributeAssign

setAttributeAssign

public void setAttributeAssign(PITAttributeAssign attributeAssign)
Parameters:
attributeAssign - the attributeAssign to set

clone

public PITAttributeAssignValue 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()

save

public void save()
save this object


update

public void update()
update this object


delete

public void delete()
delete this object


valueString

public String valueString()
Returns:
the string value regardless of type

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)