|
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.suggest.SuggestionRecord org.dlese.dpc.suggest.comment.CommentRecord
public class CommentRecord
SuggestionRecord for Suggestors using the "dlese_anno" metadata framework.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.suggest.SuggestionRecord |
---|
doc, docMap |
Constructor Summary | |
---|---|
CommentRecord(Document doc,
SchemaHelper schemaHelper)
Creates a new CommentRecord given a LOCALIZED dom4j.Document and SchemaHelper, but doesn't assign an id |
Method Summary | |
---|---|
String |
getCreationDate()
Gets the creation date for this CommentRecord. |
String |
getDescription()
Gets the description attribute of the CommentRecord object |
String |
getEmail()
Gets the email attribute of the CommentRecord object |
String |
getInstName()
Gets the instName attribute of the CommentRecord object |
String |
getItemID()
Gets the itemID attribute of the CommentRecord object |
String |
getNameFirst()
Gets the nameFirst attribute of the CommentRecord object |
String |
getNameLast()
Gets the nameLast attribute of the CommentRecord object |
String |
getRole()
There may be more than one contributor element. |
String |
getShare()
Gets the share attribute of the CommentRecord object |
String |
getTitle()
Gets the title attribute of the CommentRecord object |
static void |
main(String[] args)
The main program for the CommentRecord class |
void |
setCreationDate(String dateStr)
Writes a String representaton of the date to various locations in the instance document. |
static void |
setDebug(boolean db)
Sets the debug attribute of the Emailer object |
void |
setDescription(String val)
Sets the description attribute of the CommentRecord object |
void |
setEmail(String val)
Sets the email attribute of the CommentRecord object |
void |
setInstName(String val)
Sets the instName attribute of the CommentRecord object |
void |
setItemID(String val)
Sets the itemID attribute of the CommentRecord object |
void |
setNameFirst(String val)
Sets the nameFirst attribute of the CommentRecord object |
void |
setNameLast(String val)
Sets the nameLast attribute of the CommentRecord object |
void |
setRole(String val)
Sets the role attribute of the CommentRecord object for the contributor/PERSON tagset. |
void |
setShare(String val)
Sets the share attribute of the CommentRecord object |
void |
setTitle(String val)
Sets the title attribute of the CommentRecord object |
String |
toString()
Print selected fields of this object for debugging purposes |
Methods inherited from class org.dlese.dpc.suggest.SuggestionRecord |
---|
get, getDoc, getDocMap, put |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommentRecord(Document doc, SchemaHelper schemaHelper)
doc
- Document
schemaHelper
- NOT YET DOCUMENTEDMethod Detail |
---|
public String getTitle()
public void setTitle(String val) throws Exception
val
- The new title value
Exception
- Description of the Exceptionpublic String getItemID()
public void setItemID(String val) throws Exception
val
- The new itemID value
Exception
- Description of the Exceptionpublic String getDescription()
public void setDescription(String val) throws Exception
val
- The new description value
Exception
- Description of the Exceptionpublic String getRole()
public void setRole(String val) throws Exception
val
- The new role value
Exception
- Description of the Exceptionpublic String getShare()
public void setShare(String val) throws Exception
val
- The new share value
Exception
- Description of the Exceptionpublic String getNameFirst()
public void setNameFirst(String val) throws Exception
val
- The new nameFirst value
Exception
- Description of the Exceptionpublic String getNameLast()
public void setNameLast(String val) throws Exception
val
- The new nameLast value
Exception
- Description of the Exceptionpublic String getEmail()
public void setEmail(String val) throws Exception
val
- The new email value
Exception
- Description of the Exceptionpublic String getInstName()
public void setInstName(String val) throws Exception
val
- The new instName value
Exception
- Description of the Exceptionpublic String getCreationDate()
public void setCreationDate(String dateStr) throws Exception
dateStr
- The creationDate value (e.g., "2007-09-23")
Exception
- if the creationDate cannot be setpublic static void setDebug(boolean db)
db
- The new debug valuepublic static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |