public class DDMTemplateResource extends Object implements TemplateResource
Constructor and Description |
---|
DDMTemplateResource()
The empty constructor is required by
Externalizable . |
DDMTemplateResource(String ddmTemplateKey,
DDMTemplate ddmTemplate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getLastModified() |
Reader |
getReader() |
String |
getTemplateId() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
writeExternal(ObjectOutput objectOutput) |
public DDMTemplateResource()
Externalizable
. Do
not use this for any other purpose.public DDMTemplateResource(String ddmTemplateKey, DDMTemplate ddmTemplate)
public boolean equals(Object obj)
equals
in class Object
public long getLastModified()
getLastModified
in interface TemplateResource
public Reader getReader()
getReader
in interface TemplateResource
public String getTemplateId()
getTemplateId
in interface TemplateResource
public int hashCode()
hashCode
in class Object
public void readExternal(ObjectInput objectInput) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException