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

    • 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 -
    • getNameEnum

      public SqlCacheDependencyTypeType getNameEnum()
      owner_type varchar G means group D means data field
      Returns:
    • setNameEnum

      public void setNameEnum(SqlCacheDependencyTypeType ownerTypeEnum)
      owner_type varchar G means group D means data field
      Parameters:
      ownerTypeEnum -
    • 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 -
    • 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