|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.dcs.StatusEntry
public class StatusEntry
Wrapper for a StatusEntry element of a DcsDataRecord
.
Contains the following elements:
$Id $
Field Summary | |
---|---|
protected Element |
entryElement
|
Constructor Summary | |
---|---|
StatusEntry()
Constructor for the StatusEntry object |
|
StatusEntry(Element entryElement)
Constructor for the StatusEntry object given a Element
containing the values for statusEntry attributes. |
|
StatusEntry(String status,
String statusNote,
String editor)
Constructor for the StatusEntry object given parameters as Strings. |
|
StatusEntry(String status,
String statusNote,
String editor,
String changeDate)
Constructor for the StatusEntry object given parameters as Strings. |
Method Summary | |
---|---|
String |
getChangeDate()
Gets the changeDate attribute of the StatusEntry object |
Date |
getDate()
Return the changeDate attribute as a Date. |
String |
getEditor()
Gets the editor attribute of the StatusEntry object |
Element |
getElement()
Returns clone of the entryElement attribute of the StatusEntry object. |
String |
getStatus()
Gets the status attribute of the StatusEntry object |
String |
getStatusNote()
Gets the statusNote attribute of the StatusEntry object |
void |
printEntry()
Description of the Method |
void |
setChangeDate(String s)
Sets the changeDate attribute of the StatusEntry object |
void |
setEditor(String s)
Sets the editor attribute of the StatusEntry object |
void |
setStatus(String s)
Sets the status attribute of the StatusEntry object |
void |
setStatusNote(String s)
Sets the statusNote attribute of the StatusEntry object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Element entryElement
Constructor Detail |
---|
public StatusEntry()
public StatusEntry(String status, String statusNote, String editor)
status
- status labelstatusNote
- note describing status changeeditor
- who made the changepublic StatusEntry(String status, String statusNote, String editor, String changeDate)
status
- status labelstatusNote
- note describing status changeeditor
- who made the changechangeDate
- textual representation of datepublic StatusEntry(Element entryElement)
Element
containing the values for statusEntry attributes.
entryElement
- Description of the ParameterMethod Detail |
---|
public Element getElement()
public String getStatus() throws Exception
Exception
- if the entryElement does not have an "status" elementpublic void setStatus(String s) throws Exception
s
- The new status value
Exception
- Description of the Exceptionpublic String getStatusNote() throws Exception
Exception
- if the entryElement does not have an "statusNote"
elementpublic void setStatusNote(String s) throws Exception
s
- The new statusNote value
Exception
- Description of the Exceptionpublic String getEditor() throws Exception
Exception
- if the entryElement does not have an "editor" elementpublic void setEditor(String s) throws Exception
s
- The new editor value
Exception
- Description of the Exceptionpublic String getChangeDate() throws Exception
Exception
- Description of the Exceptionpublic void setChangeDate(String s) throws Exception
s
- The new changeDate value
Exception
- Description of the Exceptionpublic Date getDate()
public void printEntry()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |