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