Class SqlCacheDependencyType
java.lang.Object
edu.internet2.middleware.grouper.sqlCache.SqlCacheDependencyType
- All Implemented Interfaces:
GcDbVersionable
,GcSqlAssignPrimaryKey
public class SqlCacheDependencyType
extends Object
implements GcSqlAssignPrimaryKey, GcDbVersionable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
deep clone the fields in this objectvoid
db versionboolean
if we need to update this objectvoid
take a snapshot of the data since this is what is in the dbboolean
equalsDeep
(Object obj) boolean
describe the dependency and columnsgetName()
alphaNumeric name of this dependency typeowner_type varchar G means group D means data fieldstore the internal id to use when the db access stores the objectvoid
setDescription
(String description) describe the dependency and columnsvoid
alphaNumeric name of this dependency typevoid
setNameEnum
(SqlCacheDependencyTypeType ownerTypeEnum) owner_type varchar G means group D means data fieldvoid
setTempInternalIdOnDeck
(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoid
toString()
-
Constructor Details
-
SqlCacheDependencyType
public SqlCacheDependencyType()
-
-
Method Details
-
getName
alphaNumeric name of this dependency type- Returns:
-
setName
alphaNumeric name of this dependency type- Parameters:
name
-
-
getDescription
describe the dependency and columns- Returns:
-
setDescription
describe the dependency and columns- Parameters:
description
-
-
getNameEnum
owner_type varchar G means group D means data field- Returns:
-
setNameEnum
owner_type varchar G means group D means data field- Parameters:
ownerTypeEnum
-
-
clone
deep clone the fields in this object -
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDelete
in interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferent
in interfaceGcDbVersionable
- Returns:
- if needs to update this object
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Specified by:
dbVersionReset
in interfaceGcDbVersionable
-
getTempInternalIdOnDeck
store the internal id to use when the db access stores the object- Returns:
-
setTempInternalIdOnDeck
store the internal id to use when the db access stores the object- Parameters:
tempInternalIdOnDeck
-
-
equalsDeep
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()- Specified by:
gcSqlAssignNewPrimaryKeyForInsert
in interfaceGcSqlAssignPrimaryKey
-
storePrepare
public void storePrepare() -
toString
-