Class DirObject
Class DirObject
java.lang.Object
|
+----PersistentObject
|
+----DirObject
- public class DirObject
- extends PersistentObject
DirObject Class
This is a class which represents a node of the directory
structure of a remote data server
-
contentsInfo
- Vector that contains the contents' info
-
numField
-
-
numObjField
-
-
objectClassName
-
-
DirObject()
- The DirObject construction should be followed by
a Load so that the object field(s) will be set
-
DirObject(String)
- Constructor for DirObject
-
delete()
-
Delete
Removes all references of the PersistentObject in the system
(The object is not explicitly deleted (i.e.
-
deleteCommit()
-
Committing a Delete, so that the information gets transferred back
to the data server.
-
getName()
- Returns the name of the directory (object)
-
getObjFields()
-
Determines how the fields of the objects should be filled after
a (network) load
To be declared by object developer
-
getRoot()
-
-
load(String)
- Loads the object from a network (persistent object storage) database
backend(and sets it's fields)
-
setObjFields()
- Sets up the Vector that that contain the "essential" fields
of the object
objectClassName
public final static String objectClassName
numField
public final static int numField
numObjField
public final static int numObjField
contentsInfo
public Vector contentsInfo
- Vector that contains the contents' info
DirObject
public DirObject(String name)
- Constructor for DirObject
DirObject
public DirObject()
- The DirObject construction should be followed by
a Load so that the object field(s) will be set
getName
public String getName()
- Returns the name of the directory (object)
delete
public void delete()
- Delete
Removes all references of the PersistentObject in the system
(The object is not explicitly deleted (i.e. space freed))
deleteCommit
public void deleteCommit()
- Committing a Delete, so that the information gets transferred back
to the data server. Both local and persistent data is updated
getRoot
public int getRoot()
setObjFields
protected void setObjFields()
- Sets up the Vector that that contain the "essential" fields
of the object
- Overrides:
- setObjFields in class PersistentObject
load
public boolean load(String strId)
- Loads the object from a network (persistent object storage) database
backend(and sets it's fields)
- Overrides:
- load in class PersistentObject
getObjFields
protected void getObjFields()
- Determines how the fields of the objects should be filled after
a (network) load
To be declared by object developer
- Overrides:
- getObjFields in class PersistentObject