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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()deep clone the fields in this objectvoiddb versionbooleanif we need to update this objectvoidtake a snapshot of the data since this is what is in the dbbooleanequalsDeep(Object obj) booleancategory of this dependency typedescribe the dependency and columnsgetName()alphaNumeric name of this dependency typestore the internal id to use when the db access stores the objectvoidsetDependencyCategory(String dependencyCategory) category of this dependency typevoidsetDescription(String description) describe the dependency and columnsvoidsetInternalId(long internalId) internal id for foreign keysvoidalphaNumeric name of this dependency typevoidsetTempInternalIdOnDeck(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoidtoString()
-
Constructor Details
-
SqlCacheDependencyType
public SqlCacheDependencyType()
-
-
Method Details
-
getDependencyCategory
category of this dependency type- Returns:
-
setDependencyCategory
category of this dependency type- Parameters:
dependencyCategory-
-
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-
-
clone
deep clone the fields in this object -
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDeletein interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferentin 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:
dbVersionResetin 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-
-
setInternalId
public void setInternalId(long internalId) internal id for foreign keys- Parameters:
internalId-
-
equalsDeep
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()- Specified by:
gcSqlAssignNewPrimaryKeyForInsertin interfaceGcSqlAssignPrimaryKey
-
storePrepare
public void storePrepare() -
toString
-
getInternalId
- Returns:
- internalId
-