edu.stanford.smi.protege.model.framestore
Interface BasicFrameStore
- All Known Implementing Classes:
- ClosureCachingBasicFrameStore, DatabaseFrameDb, DatabaseFrameDb, InMemoryFrameDb, MergingBasicFrameStore, ValueCachingBasicFrameStore, ValueCachingBasicFrameStore
- public interface BasicFrameStore
Method Summary |
void |
addValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Collection values)
|
boolean |
beginTransaction(String name)
|
void |
close()
|
boolean |
commitTransaction()
|
void |
deleteFrame(Frame frame)
|
Set |
executeQuery(Query query)
|
FrameID |
generateFrameID()
|
Set |
getClosure(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
|
int |
getClsCount()
|
BasicFrameStore |
getDelegate()
|
int |
getFacetCount()
|
Frame |
getFrame(FrameID id)
|
int |
getFrameCount()
|
Set |
getFrames(Slot slot,
Facet facet,
boolean isTemplate,
Object value)
|
Set |
getFramesWithAnyValue(Slot slot,
Facet facet,
boolean isTemplate)
|
Set |
getMatchingFrames(Slot slot,
Facet facet,
boolean isTemplate,
String value,
int maxMatches)
|
Set |
getMatchingReferences(String value,
int maxMatches)
|
Set |
getReferences(Object value)
|
int |
getSimpleInstanceCount()
|
int |
getSlotCount()
|
List |
getValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
|
int |
getValuesCount(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
|
void |
moveValue(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
int from,
int to)
|
void |
removeValue(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Object value)
|
void |
replaceFrame(Frame frame)
A complete hack to work around problems with the java packages feature |
boolean |
rollbackTransaction()
|
void |
setValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Collection values)
|
getDelegate
public BasicFrameStore getDelegate()
generateFrameID
public FrameID generateFrameID()
getFrameCount
public int getFrameCount()
getClsCount
public int getClsCount()
getSlotCount
public int getSlotCount()
getFacetCount
public int getFacetCount()
getSimpleInstanceCount
public int getSimpleInstanceCount()
getFrame
public Frame getFrame(FrameID id)
getValues
public List getValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
getValuesCount
public int getValuesCount(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
addValues
public void addValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Collection values)
moveValue
public void moveValue(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
int from,
int to)
removeValue
public void removeValue(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Object value)
setValues
public void setValues(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate,
Collection values)
getFrames
public Set getFrames(Slot slot,
Facet facet,
boolean isTemplate,
Object value)
getFramesWithAnyValue
public Set getFramesWithAnyValue(Slot slot,
Facet facet,
boolean isTemplate)
getMatchingFrames
public Set getMatchingFrames(Slot slot,
Facet facet,
boolean isTemplate,
String value,
int maxMatches)
getReferences
public Set getReferences(Object value)
getMatchingReferences
public Set getMatchingReferences(String value,
int maxMatches)
executeQuery
public Set executeQuery(Query query)
deleteFrame
public void deleteFrame(Frame frame)
close
public void close()
getClosure
public Set getClosure(Frame frame,
Slot slot,
Facet facet,
boolean isTemplate)
replaceFrame
public void replaceFrame(Frame frame)
- A complete hack to work around problems with the java packages feature
beginTransaction
public boolean beginTransaction(String name)
commitTransaction
public boolean commitTransaction()
rollbackTransaction
public boolean rollbackTransaction()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.