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 Details

    • SqlCacheDependencyType

      public SqlCacheDependencyType()
  • Method Details

    • getDependencyCategory

      public String getDependencyCategory()
      category of this dependency type
      Returns:
    • setDependencyCategory

      public void setDependencyCategory(String dependencyCategory)
      category of this dependency type
      Parameters:
      dependencyCategory -
    • getName

      public String getName()
      alphaNumeric name of this dependency type
      Returns:
    • setName

      public void setName(String name)
      alphaNumeric name of this dependency type
      Parameters:
      name -
    • getDescription

      public String getDescription()
      describe the dependency and columns
      Returns:
    • setDescription

      public void setDescription(String description)
      describe the dependency and columns
      Parameters:
      description -
    • clone

      public SqlCacheDependencyType clone()
      deep clone the fields in this object
      Overrides:
      clone in class Object
    • dbVersionDelete

      public void dbVersionDelete()
      db version
      Specified by:
      dbVersionDelete in interface GcDbVersionable
    • dbVersionDifferent

      public boolean dbVersionDifferent()
      if we need to update this object
      Specified by:
      dbVersionDifferent in interface GcDbVersionable
      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 interface GcDbVersionable
    • getTempInternalIdOnDeck

      public Long getTempInternalIdOnDeck()
      store the internal id to use when the db access stores the object
      Returns:
    • setTempInternalIdOnDeck

      public void setTempInternalIdOnDeck(Long tempInternalIdOnDeck)
      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

      public boolean equalsDeep(Object obj)
    • gcSqlAssignNewPrimaryKeyForInsert

      public boolean gcSqlAssignNewPrimaryKeyForInsert()
      Specified by:
      gcSqlAssignNewPrimaryKeyForInsert in interface GcSqlAssignPrimaryKey
    • storePrepare

      public void storePrepare()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getInternalId

      public Long getInternalId()
      Returns:
      internalId