org.apache.maven.doxia.document
public class DocumentTemplate extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
DocumentTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.util.Date |
getDate()
Get the date and time when the template was last modified,
prior
to being used to create the current document.
|
java.lang.String |
getHref()
Get the location of the document template.
|
java.lang.String |
getModifydate()
Get the date and time when the template was last modified.
|
java.lang.String |
getTitle()
Get the name of the document template.
|
int |
hashCode()
Method hashCode.
|
void |
setDate(java.util.Date date)
Set the date and time when the template was last modified,
prior
to being used to create the current document.
|
void |
setHref(java.lang.String href)
Set the location of the document template.
|
void |
setModifydate(java.lang.String modifydate)
Set the date as String (recommended format is ISO 8601) when
the template was last modified.
|
void |
setTitle(java.lang.String title)
Set the name of the document template.
|
java.lang.String |
toString()
Method toString.
|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.util.Date getDate()
public java.lang.String getHref()
public java.lang.String getTitle()
public int hashCode()
hashCode
in class java.lang.Object
public void setDate(java.util.Date date)
date
- public void setHref(java.lang.String href)
href
- public void setModifydate(java.lang.String modifydate)
date
is not set.modifydate
- public void setTitle(java.lang.String title)
title
- public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getModifydate()
getDate()
if setted, formatted using ISO-8601 English format, otherwise return
the modifydate
.getDate()
Copyright © 2005-2014. All Rights Reserved.