|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.nb.pogamut.unreal.timeline.records.TLFolder
public class TLFolder
This class is used for storing introspectable variables during some
period of time. Values are stored as pairs of time,value. Values are taken
from Folder when user calls method TLFolder.update(long timestamp),
it doesn't refresh automaticly.
TLFolder can contain properties and subfolder. Everything is updated recursively.
TLFolder can be created either by mirroring existing Folder or by creating an
empty TLFolder and populating it with properties and subfolders.
TLProperty,
Folder,
Serialized Form| Field Summary | |
|---|---|
protected String |
name
Name of the storage folder |
LinkedList<TLProperty> |
properties
List of folders that are in this folder |
LinkedList<TLFolder> |
subfolders
|
| Constructor Summary | |
|---|---|
TLFolder(cz.cuni.amis.introspection.Folder folder)
Create a new folder for storing pairs (timestamp, value). |
|
TLFolder(String name)
Create an empty folder with name. |
|
| Method Summary | |
|---|---|
void |
addFolder(TLFolder newSubfolder)
Add subfolder to the folder. |
void |
addProperty(TLProperty newProperty)
Add property to the folder |
TLFolder |
findFolder(String name)
Find if we have subfolder with specified name and return it. |
TLProperty |
findProperty(String name)
Find if we have property with specified name in properties and return it. |
String |
getName()
Return name of the folder. |
List<TLProperty> |
getProperties()
|
List<TLFolder> |
getSubfolders()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
public LinkedList<TLProperty> properties
public LinkedList<TLFolder> subfolders
| Constructor Detail |
|---|
public TLFolder(cz.cuni.amis.introspection.Folder folder)
throws cz.cuni.amis.introspection.IntrospectionException
folder - folder we want to mirror.
cz.cuni.amis.introspection.IntrospectionExceptionpublic TLFolder(String name)
name - | Method Detail |
|---|
public void addFolder(TLFolder newSubfolder)
newSubfolder - public void addProperty(TLProperty newProperty)
newProperty - public TLFolder findFolder(String name)
name - name of the subfolder we are searching for
public TLProperty findProperty(String name)
name - name of the property we are searching for
public String getName()
public List<TLProperty> getProperties()
public List<TLFolder> getSubfolders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||