|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.aerith.misao.database.PrimitiveManager
The PrimitiveManager is an abstract class of a
database manager which covers one virtual folder containing XML
elements of the same type.
| Field Summary | |
protected XmlDBHolder |
holder_class
The holder class object of the XML records. |
protected XmlDBRecord |
record_class
The class of the XML records. |
| Constructor Summary | |
PrimitiveManager()
|
|
| Method Summary | |
abstract void |
addElement(XmlDBRecord element)
Adds the specified XML element into the database. |
abstract void |
addElements(java.util.Vector list)
Adds the XML elements in the specified list into the database. |
XmlDBHolder |
createHolder()
Creates an empty holder object. |
abstract XmlDBRecord |
deleteElement(java.lang.String id)
Deletes the element of the specified ID. |
abstract void |
deleteElements(java.util.Hashtable hash)
Deletes the elements in the specified hash table. |
abstract XmlDBAccessor |
getAccessor()
Gets the sequential accessor to the elements in the database. |
XmlDBRecord |
getElement(java.lang.String id)
Gets the element of the specified ID. |
abstract XmlDBRecord |
setElement(XmlDBRecord element)
Adds or updates the specified XML element into the database. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected XmlDBHolder holder_class
protected XmlDBRecord record_class
| Constructor Detail |
public PrimitiveManager()
| Method Detail |
public XmlDBHolder createHolder()
public XmlDBRecord getElement(java.lang.String id)
throws java.io.IOException
id - the ID.
public abstract void addElement(XmlDBRecord element)
throws java.io.IOException
element - the XML element.
public abstract void addElements(java.util.Vector list)
throws java.io.IOException
list - the list of XML elements.
public abstract XmlDBRecord setElement(XmlDBRecord element)
throws java.io.IOException
element - the XML element.
public abstract XmlDBRecord deleteElement(java.lang.String id)
throws java.io.IOException
id - the ID.
public abstract void deleteElements(java.util.Hashtable hash)
throws java.io.IOException
hash - the hash table whose keys are IDs of the elements
to be deleted.public abstract XmlDBAccessor getAccessor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||