public class StatusEntry
extends java.lang.Object
DcsDataRecord.
Contains the following elements:
$Id $
| Modifier and Type | Field and Description |
|---|---|
protected org.dom4j.Element |
entryElement |
| Constructor and Description |
|---|
StatusEntry()
Constructor for the StatusEntry object
|
StatusEntry(org.dom4j.Element entryElement)
Constructor for the StatusEntry object given a
Element
containing the values for statusEntry attributes. |
StatusEntry(java.lang.String status,
java.lang.String statusNote,
java.lang.String editor)
Constructor for the StatusEntry object given parameters as Strings.
|
StatusEntry(java.lang.String status,
java.lang.String statusNote,
java.lang.String editor,
java.lang.String changeDate)
Constructor for the StatusEntry object given parameters as Strings.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChangeDate()
Gets the changeDate attribute of the StatusEntry object
|
java.util.Date |
getDate()
Return the changeDate attribute as a Date.
|
java.lang.String |
getEditor()
Gets the editor attribute of the StatusEntry object
|
org.dom4j.Element |
getElement()
Returns clone of the entryElement attribute of the StatusEntry object.
|
java.lang.String |
getStatus()
Gets the status attribute of the StatusEntry object
|
java.lang.String |
getStatusNote()
Gets the statusNote attribute of the StatusEntry object
|
void |
printEntry()
Description of the Method
|
void |
setChangeDate(java.lang.String s)
Sets the changeDate attribute of the StatusEntry object
|
void |
setEditor(java.lang.String s)
Sets the editor attribute of the StatusEntry object
|
void |
setStatus(java.lang.String s)
Sets the status attribute of the StatusEntry object
|
void |
setStatusNote(java.lang.String s)
Sets the statusNote attribute of the StatusEntry object
|
public StatusEntry()
public StatusEntry(java.lang.String status,
java.lang.String statusNote,
java.lang.String editor)
status - status labelstatusNote - note describing status changeeditor - who made the changepublic StatusEntry(java.lang.String status,
java.lang.String statusNote,
java.lang.String editor,
java.lang.String changeDate)
status - status labelstatusNote - note describing status changeeditor - who made the changechangeDate - textual representation of datepublic StatusEntry(org.dom4j.Element entryElement)
Element
containing the values for statusEntry attributes.entryElement - Description of the Parameterpublic org.dom4j.Element getElement()
public java.lang.String getStatus()
throws java.lang.Exception
java.lang.Exception - if the entryElement does not have an "status" elementpublic void setStatus(java.lang.String s)
throws java.lang.Exception
s - The new status valuejava.lang.Exception - Description of the Exceptionpublic java.lang.String getStatusNote()
throws java.lang.Exception
java.lang.Exception - if the entryElement does not have an "statusNote"
elementpublic void setStatusNote(java.lang.String s)
throws java.lang.Exception
s - The new statusNote valuejava.lang.Exception - Description of the Exceptionpublic java.lang.String getEditor()
throws java.lang.Exception
java.lang.Exception - if the entryElement does not have an "editor" elementpublic void setEditor(java.lang.String s)
throws java.lang.Exception
s - The new editor valuejava.lang.Exception - Description of the Exceptionpublic java.lang.String getChangeDate()
throws java.lang.Exception
java.lang.Exception - Description of the Exceptionpublic void setChangeDate(java.lang.String s)
throws java.lang.Exception
s - The new changeDate valuejava.lang.Exception - Description of the Exceptionpublic java.util.Date getDate()
public void printEntry()