|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.cwi.sen1.visbase.factbrowser.data.RStore
public class RStore
This class represent the RStore. Every RStore has a collection of facts which will be contained in this class. It will offer methods to get the details of the RStore and get the children Facts.
Field Summary | |
---|---|
private java.util.ArrayList<RStoreFact> |
factNodes
|
private int |
rstoreID
|
private java.lang.String |
rstoreName
|
Constructor Summary | |
---|---|
RStore()
This is the default constructor which will be used as a failsafe. |
|
RStore(java.lang.String rstoreName,
int rstoreID)
Constructor wich will set the name of the RStore and the RstoreID and will initialise the children factNodes container |
Method Summary | |
---|---|
void |
addFactNode(RStoreFact factNode)
This method will make it possible to add an Child factNode |
java.util.ArrayList<RStoreFact> |
getFactNodes()
This method will return the ArrayList which contains all the children FactNodes |
int |
getRstoreId()
This is the method which will the return the unique Identifier of the RStore. |
java.lang.String |
toString()
Method will make it possible to display the name of the RStore in the tree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList<RStoreFact> factNodes
private java.lang.String rstoreName
private int rstoreID
Constructor Detail |
---|
public RStore()
public RStore(java.lang.String rstoreName, int rstoreID)
rstoreName
- THis is the visual name of the RStorerstoreID
- This is the identifier of the RStoreMethod Detail |
---|
public void addFactNode(RStoreFact factNode)
factNode
- This is to add a FactNode to the RStorepublic java.util.ArrayList<RStoreFact> getFactNodes()
public java.lang.String toString()
toString
in class java.lang.Object
public int getRstoreId()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |