Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw
Class DSDBEntry  view DSDBEntry download DSDBEntry.java

java.lang.Object
  extended byorg.mitre.cvw.DSDBEntry

public class DSDBEntry
extends java.lang.Object

This class represents a single entry in the DSDB file, which is information about a checked out document (in edit mode).

Version:

Field Summary
(package private)  java.lang.Integer curRev
           
(package private)  java.util.Date dateEntered
           
(package private)  java.lang.String docName
           
(package private)  java.lang.String filePath
           
(package private)  java.lang.Integer id
           
(package private)  boolean rw
           
(package private)  java.lang.String serverName
           
(package private)  java.lang.String userName
           
 
Constructor Summary
DSDBEntry()
          A constructor to use the default values.
DSDBEntry(int ID, java.lang.String name, java.util.Date date, java.lang.String path, java.lang.Integer revision, java.lang.String user, java.lang.String server)
          Standard constructor with all values specified.
 
Method Summary
 java.util.Date getDate()
          Returns the name of the document.
 int getID()
          Returns the id of the document.
 java.lang.String getPath()
          Returns the path of the document.
 int getRevision()
          Returns the version number of the document.
 java.lang.String getServer()
          Returns the name of the server the document is located on.
 java.lang.String getUser()
          Returns the name of the user editing the document.
 java.lang.String Name()
          Returns the name of the document.
 java.lang.String Path()
          Returns the path of the document.
 boolean ReadWrite()
          Returns the read/write state of the document.
 void setDate(java.util.Date date)
          Sets the date of the document.
 void setID(int id)
          Sets the document id of the document.
 void setName(java.lang.String name)
          Sets the name of the document.
 void setPath(java.lang.String path)
          Sets the path of the document.
 void setReadWrite(boolean value)
          Sets the read/write value of the document.
 void setRevision(java.lang.Integer rev)
          Sets the version number of the document.
 void setServer(java.lang.String server)
          Sets the name of the CVW server name that the document is located on.
 void setUser(java.lang.String user)
          Sets the user name who is editing the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rw

boolean rw

dateEntered

java.util.Date dateEntered

filePath

java.lang.String filePath

curRev

java.lang.Integer curRev

userName

java.lang.String userName

serverName

java.lang.String serverName

docName

java.lang.String docName

id

java.lang.Integer id
Constructor Detail

DSDBEntry

public DSDBEntry(int ID,
                 java.lang.String name,
                 java.util.Date date,
                 java.lang.String path,
                 java.lang.Integer revision,
                 java.lang.String user,
                 java.lang.String server)
Standard constructor with all values specified.


DSDBEntry

public DSDBEntry()
A constructor to use the default values.

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the document.


setID

public void setID(int id)
Sets the document id of the document.


setDate

public void setDate(java.util.Date date)
Sets the date of the document.


setPath

public void setPath(java.lang.String path)
Sets the path of the document.


setRevision

public void setRevision(java.lang.Integer rev)
Sets the version number of the document.


setUser

public void setUser(java.lang.String user)
Sets the user name who is editing the document.


setServer

public void setServer(java.lang.String server)
Sets the name of the CVW server name that the document is located on.


setReadWrite

public void setReadWrite(boolean value)
Sets the read/write value of the document.


Name

public java.lang.String Name()
Returns the name of the document.


Path

public java.lang.String Path()
Returns the path of the document.


ReadWrite

public boolean ReadWrite()
Returns the read/write state of the document.


getID

public int getID()
Returns the id of the document.


getDate

public java.util.Date getDate()
Returns the name of the document.


getPath

public java.lang.String getPath()
Returns the path of the document.


getRevision

public int getRevision()
Returns the version number of the document.


getUser

public java.lang.String getUser()
Returns the name of the user editing the document.


getServer

public java.lang.String getServer()
Returns the name of the server the document is located on.