Class PITField
java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.pit.GrouperPIT
edu.internet2.middleware.grouper.pit.PITField
- All Implemented Interfaces:
HibGrouperLifecycle
,Hib3GrouperVersioned
,GrouperCloneable
,GrouperUtil.FieldValuable
,Serializable
,org.hibernate.classic.Lifecycle
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Context id links together multiple operations into one high level actionstatic final String
hibernate versionstatic final String
db id for this rowstatic final String
namestatic final String
columnstatic final String
columnstatic final String
typestatic final String
constant for field name for: contextIdstatic final String
constant for field name for: idstatic final String
constant for field name for: namestatic final String
constant for field name for: sourceIdstatic final String
constant for field name for: sourceInternalIdstatic final String
constant for field name for: typestatic final String
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
dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
deep clone the fields in this objectvoid
delete()
delete this objectgetId()
getName()
getType()
void
save or update this objectvoid
setContextId
(String contextId) set context idvoid
set idvoid
Set namevoid
setSourceId
(String sourceId) set source idvoid
setSourceInternalId
(Long sourceInternalId) void
Set typeMethods 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, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
-
Field Details
-
COLUMN_ID
db id for this row- See Also:
-
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action- See Also:
-
COLUMN_NAME
name- See Also:
-
COLUMN_TYPE
type- See Also:
-
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version- See Also:
-
COLUMN_SOURCE_ID
column- See Also:
-
COLUMN_SOURCE_INTERNAL_ID
column- See Also:
-
FIELD_SOURCE_ID
constant for field name for: sourceId- See Also:
-
FIELD_SOURCE_INTERNAL_ID
constant for field name for: sourceInternalId- See Also:
-
FIELD_CONTEXT_ID
constant for field name for: contextId- See Also:
-
FIELD_ID
constant for field name for: id- See Also:
-
FIELD_NAME
constant for field name for: name- See Also:
-
FIELD_TYPE
constant for field name for: type- See Also:
-
TABLE_GROUPER_PIT_FIELDS
name of the table in the database.- See Also:
-
-
Constructor Details
-
PITField
public PITField()
-
-
Method Details
-
getSourceInternalId
- Returns:
- sourceInternalId
-
setSourceInternalId
- Parameters:
sourceInternalId
-
-
getSourceId
- Returns:
- source id
-
setSourceId
set source id- Parameters:
sourceId
-
-
clone
Description copied from class:GrouperAPI
deep clone the fields in this object- Specified by:
clone
in interfaceGrouperCloneable
- Specified by:
clone
in classGrouperAPI
- Returns:
- the clone of the object
- See Also:
-
getContextId
- Returns:
- context id
-
setContextId
set context id- Parameters:
contextId
-
-
getId
- Returns:
- id
-
setId
set id- Parameters:
id
-
-
getName
- Returns:
- name
-
getNameDb
- Returns:
- name
-
setNameDb
Set name- Parameters:
name
-
-
getType
- Returns:
- type
-
getTypeDb
- Returns:
- type
-
setTypeDb
Set type- Parameters:
type
-
-
saveOrUpdate
public void saveOrUpdate()save or update this object -
delete
public void delete()delete this object
-