|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.feature.FeatureKeyFactory
public abstract class FeatureKeyFactory
Field Summary | |
---|---|
protected static java.lang.String |
constantName
|
protected boolean |
dbFactory
|
protected DBInfo |
info
|
protected boolean |
nextKeyValueSet
|
Constructor Summary | |
---|---|
FeatureKeyFactory()
|
|
FeatureKeyFactory(DBInfo info)
|
Method Summary | |
---|---|
FeatureKey |
convertDBStringToKey(java.lang.String dbEntry)
|
void |
finalize()
Method finalize |
abstract FeatureKey |
generateKey()
|
protected boolean |
isDBFactory()
Method isDBFactory |
protected boolean |
isNextKeyValueSet()
Method isNextKeyValueSet |
protected void |
setDBFactory(boolean dbFactory)
This method is called if the factory will be interacting with the database. |
protected void |
setNextKeyFromDB()
|
protected void |
setNextKeyValueSet(boolean nextKeyValueSet)
Method setNextKeyValueSet |
void |
shutDown()
Shutsdown the factory by storing the nextKey in the database. |
protected void |
storeNextKeyToDB()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean dbFactory
protected DBInfo info
protected static final java.lang.String constantName
protected boolean nextKeyValueSet
Constructor Detail |
---|
public FeatureKeyFactory()
public FeatureKeyFactory(DBInfo info)
Method Detail |
---|
public abstract FeatureKey generateKey()
protected void setNextKeyValueSet(boolean nextKeyValueSet)
nextKeyValueSet
- a booleanprotected boolean isNextKeyValueSet()
protected void setDBFactory(boolean dbFactory)
dbFactory
- a booleanprotected boolean isDBFactory()
public void shutDown()
public void finalize()
finalize
in class java.lang.Object
public FeatureKey convertDBStringToKey(java.lang.String dbEntry)
protected void setNextKeyFromDB()
protected void storeNextKeyToDB()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |