Class GrouperDictionary

java.lang.Object
edu.internet2.middleware.grouper.dictionary.GrouperDictionary
All Implemented Interfaces:
GcDbVersionable, GcSqlAssignPrimaryKey

public class GrouperDictionary extends Object implements GcSqlAssignPrimaryKey, GcDbVersionable
Dictionary holds strings in one place for other tables to refer to
  • Constructor Details

    • GrouperDictionary

      public GrouperDictionary()
  • Method Details

    • dbVersionReset

      public void dbVersionReset()
      take a snapshot of the data since this is what is in the db
      Specified by:
      dbVersionReset 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
    • dbVersionDelete

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

      public void storePrepare()
    • clone

      public GrouperDictionary clone()
      deep clone the fields in this object
      Overrides:
      clone in class Object
    • equalsDeep

      public boolean equalsDeep(Object obj)
    • getTheText

      public String getTheText()
      text for this dictionary item
      Returns:
    • setTheText

      public void setTheText(String theText)
      text for this dictionary item
      Parameters:
      theText -
    • getCreatedOn

      public Timestamp getCreatedOn()
    • setCreatedOn

      public void setCreatedOn(Timestamp created)
    • getLastReferenced

      public Timestamp getLastReferenced()
    • setLastReferenced

      public void setLastReferenced(Timestamp lastReferenced)
    • isPreLoad

      public boolean isPreLoad()
    • setOftenUsed

      public void setOftenUsed(boolean oftenUsed)
    • getPreLoadDb

      public String getPreLoadDb()
    • setPreLoadDb

      public void setPreLoadDb(String oftenUsed)
    • main

      public static void main(String[] args)
      Parameters:
      args -
    • toString

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

      public long getInternalId()
      internal integer id
      Returns:
    • setInternalId

      public void setInternalId(long internalId)
      internal integer id
      Parameters:
      internalId -
    • gcSqlAssignNewPrimaryKeyForInsert

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