public class XmlLog extends Object
Constructor and Description |
---|
XmlLog()
Creates a new instance of XmlLog
|
XmlLog(Long logId)
Creates a new instance of XmlLog.
|
XmlLog(Long logId,
String owner)
Creates a new instance of XmlLog.
|
XmlLog(String owner)
Creates a new instance of XmlLog.
|
Modifier and Type | Method and Description |
---|---|
void |
addXmlAttachment(XmlAttachment attachment)
Adds an XmlAttachment to the collection.
|
void |
addXmlLogbook(XmlLogbook logbook)
Adds an XmlLogbook to the log.
|
void |
addXmlProperty(XmlProperty property)
Adds an XmlProperty to the log.
|
void |
addXmlTag(XmlTag tag)
Adds an XmlTag to the collection.
|
Date |
getCreatedDate()
Getter for log created date.
|
String |
getDescription()
Getter for log description.
|
Long |
getId()
Getter for log id.
|
String |
getLevel()
Getter for log level.
|
String |
getMD5Entry()
Getter for MD5 entry.
|
Date |
getModifiedDate()
Getter for log modified date.
|
String |
getOwner()
Getter for log owner.
|
String |
getSource()
Getter for log source IP.
|
Long |
getTableId()
Getter for Table id.
|
int |
getVersion()
Getter for log version id.
|
XmlAttachments |
getXmlAttachments()
Getter for the log's XmlAttachments.
|
Collection<XmlLogbook> |
getXmlLogbooks()
Getter for log's XmlLogbooks.
|
Collection<XmlProperty> |
getXmlProperties()
Getter for log's XmlProperties.
|
Collection<XmlTag> |
getXmlTags()
Getter for the log's XmlTags.
|
void |
setCreatedDate(Date createdDate)
Setter for log created date.
|
void |
setDescription(String description)
Setter for log description.
|
void |
setId(Long logId)
Setter for log id.
|
void |
setLevel(String level)
Setter for log owner.
|
void |
setMD5Entry(String md5entry)
Setter for MD5 entry.
|
void |
setModifiedDate(Date modifiedDate)
Setter for log modified date.
|
void |
setOwner(String owner)
Setter for log owner.
|
void |
setSource(String source)
Setter for log source IP.
|
void |
setTableId(Long tableId)
Setter for Table id.
|
void |
setVersion(int version)
Setter for log version id.
|
void |
setXmlAttachments(XmlAttachments attachments)
Setter for the log's XmlAttachments.
|
void |
setXmlLogbooks(Collection<XmlLogbook> logbooks)
Setter for log's XmlLogbooks.
|
void |
setXmlProperties(Collection<XmlProperty> properties)
Setter for log's XmlProperties.
|
void |
setXmlTags(Collection<XmlTag> tags)
Setter for the log's XmlTags.
|
static String |
toLog(XmlLog data)
Creates a compact string representation for the log.
|
public XmlLog()
public XmlLog(Long logId)
logId
- log idpublic XmlLog(String owner)
subject
- log subjectowner
- log ownerpublic Long getId()
public void setId(Long logId)
logId
- public int getVersion()
public void setVersion(int version)
version
- public String getOwner()
public void setOwner(String owner)
owner
- public String getLevel()
public void setLevel(String level)
level
- public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate
- public String getSource()
public void setSource(String source)
source
- IPpublic String getDescription()
public void setDescription(String description)
description
- the value to setpublic String getMD5Entry()
public void setMD5Entry(String md5entry)
description
- the value to setpublic Long getTableId()
public void setTableId(Long tableId)
Table
- id to setpublic Collection<XmlProperty> getXmlProperties()
public void setXmlProperties(Collection<XmlProperty> properties)
properties
- XmlPropertiespublic void addXmlProperty(XmlProperty property)
property
- single XmlPropertypublic Collection<XmlLogbook> getXmlLogbooks()
public void setXmlLogbooks(Collection<XmlLogbook> logbooks)
logbooks
- XmlLogbookspublic void addXmlLogbook(XmlLogbook logbook)
logbook
- single XmlLogbookpublic Collection<XmlTag> getXmlTags()
public void setXmlTags(Collection<XmlTag> tags)
tags
- XmlTagspublic void addXmlTag(XmlTag tag)
tag
- public XmlAttachments getXmlAttachments()
public void setXmlAttachments(XmlAttachments attachments)
attachments
- XmlAttachmentspublic void addXmlAttachment(XmlAttachment attachment)
attachment
- Copyright © 2010-2014 Michigan State University. All Rights Reserved.