|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.feature.featurespec.AbstractFeatureSpecCollection edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB edu.indiana.iucbrf.feature.featurespec.CCBRFeatureSpecRDB
public class CCBRFeatureSpecRDB
A FeatureSpecCollection that stores CCBRFeatureSpecs in a relational database. This class extends itself from the FeatureSpecRDB class. The methods from the super class are overidden to take into account the new tables that are included at this level of abstaction
Field Summary |
---|
Fields inherited from class edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB |
---|
cacheMap, con, domain, featureSpecRDBInfo, iterator, stmt |
Fields inherited from class edu.indiana.iucbrf.feature.featurespec.AbstractFeatureSpecCollection |
---|
title |
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable |
---|
TITLE_FONT |
Constructor Summary | |
---|---|
protected |
CCBRFeatureSpecRDB()
|
|
CCBRFeatureSpecRDB(CCBRDomain domain,
CCBRFeatureSpecRDBInfo ccbrFeatureSpecRDBInfo)
Constructor |
|
CCBRFeatureSpecRDB(CCBRDomain domain,
CCBRFeatureSpecRDBInfo ccbrFeatureSpecRDBInfo,
FeatureKey[] featureKeys,
java.lang.String[] featureDescriptions,
java.lang.String[] questionTexts,
java.lang.String[] featureTypeNames)
Constructor |
Method Summary | |
---|---|
void |
addFeatureSpec(FeatureSpec ccbrFeatureSpec)
Method addFeatureSpec |
protected void |
handleCacheGetFeatureSpecMiss(FeatureSpec featureSpec)
Method handleCacheGetFeatureSpecMiss |
FeatureSpec |
readSingleFeatureSpecFromDB(FeatureKey featureKey)
Overrides FeatureSpecRDB method |
void |
removeFeatureSpec(FeatureKey key)
Method removeFeatureSpec |
protected void |
setAllFeatureSpecShellsIntoCache()
This method must convert the FeatureSpec shells to CCBRFeatureSpecs, and add new information from the CCBRFeatureSpec-related tables. |
Methods inherited from class edu.indiana.iucbrf.feature.featurespec.FeatureSpecRDB |
---|
doThreadedOperation, finalize, getCacheMap, getFeatureSpec, getFeatureSpecCount, getFeatureSpecRDBInfo, loadAllIntoCacheInSeparateThread, orderedAllEntryIterator, orderedAllKeyArray, orderedAllKeyIterator, orderedAllSpecIterator, readFeatureSpecRDBIntoCache, setAllConstructorArgsIntoCache, setAllExtraDataIntoCache, setDoneWithThreadedOperation, setFormat, waitForCacheLoad |
Methods inherited from class edu.indiana.iucbrf.feature.featurespec.AbstractFeatureSpecCollection |
---|
equals, fromXML, getTitle, isFullyCompliant, isPartiallyCompliant, putExtraData, removeFeatureSpec, setDescription, setIsPrintable, setIsSubFeature, setName, setStandardConstructor, setStandardConstructor, setStandardConstructor, setTitle, setType, toString, toSwing, toXML |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected CCBRFeatureSpecRDB()
public CCBRFeatureSpecRDB(CCBRDomain domain, CCBRFeatureSpecRDBInfo ccbrFeatureSpecRDBInfo)
domain
- a CCBRDomainccbrFeatureSpecRDBInfoa
- CCBRFeatureSpecRDBInfopublic CCBRFeatureSpecRDB(CCBRDomain domain, CCBRFeatureSpecRDBInfo ccbrFeatureSpecRDBInfo, FeatureKey[] featureKeys, java.lang.String[] featureDescriptions, java.lang.String[] questionTexts, java.lang.String[] featureTypeNames)
domain
- a CCBRDomainccbrFeatureSpecRDBInfoa
- CCBRFeatureSpecRDBInfofeatureKeys
- a FeatureKey[]featureDescriptions
- a String[]questionTexts
- a String[]featureTypeNames
- a String[]Method Detail |
---|
protected void setAllFeatureSpecShellsIntoCache()
setAllFeatureSpecShellsIntoCache
in class FeatureSpecRDB
public void addFeatureSpec(FeatureSpec ccbrFeatureSpec)
addFeatureSpec
in interface FeatureSpecCollection
addFeatureSpec
in class FeatureSpecRDB
ccbrFeatureSpec
- a FeatureSpecpublic FeatureSpec readSingleFeatureSpecFromDB(FeatureKey featureKey)
readSingleFeatureSpecFromDB
in class FeatureSpecRDB
protected void handleCacheGetFeatureSpecMiss(FeatureSpec featureSpec)
handleCacheGetFeatureSpecMiss
in class FeatureSpecRDB
featureSpec
- a FeatureSpecpublic void removeFeatureSpec(FeatureKey key)
removeFeatureSpec
in interface FeatureSpecCollection
removeFeatureSpec
in class FeatureSpecRDB
ccbrFeatureSpec
- a FeatureSpec
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |