public class XmlLogbooks extends Object
Constructor and Description |
---|
XmlLogbooks()
Creates a new instance of XmlLogbooks.
|
XmlLogbooks(XmlLogbook logbook)
Creates a new instance of XmlLogbooks with one initial logbook.
|
Modifier and Type | Method and Description |
---|---|
void |
addXmlLogbook(XmlLogbook item)
Adds a property to the logbook collection.
|
Collection<XmlLogbook> |
getLogbooks()
Returns a collection of XmlLogbook.
|
void |
setLogbooks(Collection<XmlLogbook> items)
Sets the collection of logbooks.
|
static String |
toLog(XmlLogbooks data)
Creates a compact string representation for the log.
|
public XmlLogbooks()
public XmlLogbooks(XmlLogbook logbook)
logbook
- initial elementpublic Collection<XmlLogbook> getLogbooks()
public void setLogbooks(Collection<XmlLogbook> items)
items
- new logbook collectionpublic void addXmlLogbook(XmlLogbook item)
item
- the XmlLogbook to addpublic static String toLog(XmlLogbooks data)
data
- XmlLog to create the string representation forCopyright © 2010-2014 Michigan State University. All Rights Reserved.