public class KARCacheContent extends java.lang.Object
Constructor and Description |
---|
KARCacheContent() |
Modifier and Type | Method and Description |
---|---|
CacheContent |
getCacheContent() |
KARCached |
getKarCached() |
java.io.File |
getKarFile() |
KeplerLSID |
getLsid() |
java.lang.String |
getName() |
java.util.Vector<KeplerLSID> |
getSemanticTypes() |
java.lang.String |
getType() |
void |
populate(java.io.File karFile,
KeplerLSID lsid,
java.sql.Statement stmt)
Populate this object from the database. setKarLsid() and setLsid() must
be called before running this method.
|
void |
populateSemanticTypes(java.sql.Statement stmt)
Populate the semantic types from the CACHE_SEMTYPES table.
|
void |
setCacheContent(CacheContent cacheContent) |
void |
setKarCached(KARCached karCached) |
void |
setName(java.lang.String name) |
void |
setSemanticTypes(java.util.Vector<KeplerLSID> semanticTypes) |
void |
setType(java.lang.String type) |
public KARCacheContent()
public void populate(java.io.File karFile, KeplerLSID lsid, java.sql.Statement stmt) throws java.lang.Exception
stmt
- java.lang.Exception
public java.io.File getKarFile()
public KeplerLSID getLsid()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type to setpublic KARCached getKarCached()
public void setKarCached(KARCached karCached)
karCached
- the karCached to setpublic CacheContent getCacheContent()
public void setCacheContent(CacheContent cacheContent)
public java.util.Vector<KeplerLSID> getSemanticTypes()
public void setSemanticTypes(java.util.Vector<KeplerLSID> semanticTypes)
semanticTypes
- the _semanticTypes to setpublic void populateSemanticTypes(java.sql.Statement stmt) throws java.sql.SQLException
stmt
- java.sql.SQLException