Class GrouperDictionary
java.lang.Object
edu.internet2.middleware.grouper.dictionary.GrouperDictionary
- All Implemented Interfaces:
GcDbVersionable
,GcSqlAssignPrimaryKey
Dictionary holds strings in one place for other tables to refer to
-
Constructor Summary
Constructors -
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
long
internal integer idstore the internal id to use when the db access stores the objecttext for this dictionary itemboolean
static void
void
setCreatedOn
(Timestamp created) void
setInternalId
(long internalId) internal integer idvoid
setLastReferenced
(Timestamp lastReferenced) void
setOftenUsed
(boolean oftenUsed) void
setPreLoadDb
(String oftenUsed) void
setTempInternalIdOnDeck
(Long tempInternalIdOnDeck) store the internal id to use when the db access stores the objectvoid
setTheText
(String theText) text for this dictionary itemvoid
toString()
-
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 interfaceGcDbVersionable
-
dbVersionDifferent
public boolean dbVersionDifferent()if we need to update this object- Specified by:
dbVersionDifferent
in interfaceGcDbVersionable
- Returns:
- if needs to update this object
-
dbVersionDelete
public void dbVersionDelete()db version- Specified by:
dbVersionDelete
in interfaceGcDbVersionable
-
storePrepare
public void storePrepare() -
clone
deep clone the fields in this object -
equalsDeep
-
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
-
-
getTheText
text for this dictionary item- Returns:
-
setTheText
text for this dictionary item- Parameters:
theText
-
-
getCreatedOn
-
setCreatedOn
-
getLastReferenced
-
setLastReferenced
-
isPreLoad
public boolean isPreLoad() -
setOftenUsed
public void setOftenUsed(boolean oftenUsed) -
getPreLoadDb
-
setPreLoadDb
-
main
- Parameters:
args
-
-
toString
-
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 interfaceGcSqlAssignPrimaryKey
-