Package africa.absa.inception.mail
Class MailTemplateSummary
- java.lang.Object
-
- africa.absa.inception.mail.MailTemplateSummary
-
- All Implemented Interfaces:
Serializable
@Entity public class MailTemplateSummary extends Object implements Serializable
The MailTemplateSummary class holds the information for a mail template.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MailTemplateSummary()Constructs a new MailTemplateSummary.MailTemplateSummary(String id, String name, MailTemplateContentType contentType)Constructs a new MailTemplateSummary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Indicates whether some other object is "equal to" this one.MailTemplateContentTypegetContentType()Returns the content type for the mail template.StringgetId()Returns the ID for the mail template.StringgetName()Returns the name of the mail template.inthashCode()Returns a hash code value for the object.StringtoString()Returns a string representation of the object.
-
-
-
Constructor Detail
-
MailTemplateSummary
public MailTemplateSummary()
Constructs a new MailTemplateSummary.
-
MailTemplateSummary
public MailTemplateSummary(String id, String name, MailTemplateContentType contentType)
Constructs a new MailTemplateSummary.- Parameters:
id- the ID for the mail templatename- the name of the mail templatecontentType- the content type for the mail template
-
-
Method Detail
-
equals
public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.
-
getContentType
public MailTemplateContentType getContentType()
Returns the content type for the mail template.- Returns:
- the content type for the mail template
-
getId
public String getId()
Returns the ID for the mail template.- Returns:
- the ID for the mail template
-
getName
public String getName()
Returns the name of the mail template.- Returns:
- the name of the mail template
-
hashCode
public int hashCode()
Returns a hash code value for the object.
-
-