Package com.priint.comet.port.whiteboard
Class CometWhiteboard.DocumentInfo
java.lang.Object
com.priint.comet.port.whiteboard.CometWhiteboard.DocumentInfo
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- CometWhiteboard
The type Document info.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets document id.booleanGets exists.Gets filename.intGets ref count.intgetSize()Gets size.Gets status.booleanIs opened in session boolean.voidsetDocumentID(String documentID) Sets document id.voidsetExists(boolean exists) Sets exists.voidsetFilename(String filename) Sets filename.voidsetOpenedInSession(boolean openedInSession) Sets opened in session.voidsetRefCount(int refCount) Sets ref count.voidsetSize(int size) Sets size.voidSets status.
-
Constructor Details
-
DocumentInfo
public DocumentInfo()Instantiates a new Document info.
-
-
Method Details
-
getStatus
Gets status.- Returns:
- the status
-
setStatus
Sets status.- Parameters:
status- the status
-
getDocumentID
Gets document id.- Returns:
- the document id
-
setDocumentID
Sets document id.- Parameters:
documentID- the document id
-
getFilename
Gets filename.- Returns:
- the filename
-
setFilename
Sets filename.- Parameters:
filename- the filename
-
getExists
public boolean getExists()Gets exists.- Returns:
- the exists
-
setExists
public void setExists(boolean exists) Sets exists.- Parameters:
exists- the exists
-
getSize
public int getSize()Gets size.- Returns:
- the size
-
setSize
public void setSize(int size) Sets size.- Parameters:
size- the size
-
isOpenedInSession
public boolean isOpenedInSession()Is opened in session boolean.- Returns:
- the boolean
-
setOpenedInSession
public void setOpenedInSession(boolean openedInSession) Sets opened in session.- Parameters:
openedInSession- the opened in session
-
getRefCount
public int getRefCount()Gets ref count.- Returns:
- the ref count
-
setRefCount
public void setRefCount(int refCount) Sets ref count.- Parameters:
refCount- the ref count
-