public class DocumentTemplate extends Object implements Serializable
Constructor and Description |
---|
DocumentTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Method equals.
|
Date |
getDate()
Get the date and time when the template was last modified,
prior
to being used to create the current document.
|
String |
getHref()
Get the location of the document template.
|
String |
getModifydate()
Get the date and time when the template was last modified.
|
String |
getTitle()
Get the name of the document template.
|
int |
hashCode()
Method hashCode.
|
void |
setDate(Date date)
Set the date and time when the template was last modified,
prior
to being used to create the current document.
|
void |
setHref(String href)
Set the location of the document template.
|
void |
setModifydate(String modifydate)
Set the date as String (recommended format is ISO 8601) when
the template was last modified.
|
void |
setTitle(String title)
Set the name of the document template.
|
String |
toString()
Method toString.
|
public DocumentTemplate()
public Date getDate()
public void setDate(Date date)
date
- public void setHref(String href)
href
- public void setModifydate(String modifydate)
date
is not set.modifydate
- public void setTitle(String title)
title
- public String getModifydate()
getDate()
if setted, formatted using ISO-8601 English format, otherwise return
the modifydate
.getDate()
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.