Email

Inheritance: java.lang.Object

public class Email

Represents Email format for QR-Code.

Constructors

Constructor Description
Email()

Methods

Method Description
getAddress() Get or set Email address.
setAddress(String value) Get or set Email address.
getSubject() Get or set email Subject.
setSubject(String value) Get or set email Subject.
getBody() Get or set Body of email message.
setBody(String value) Get or set Body of email message.
equals(Object source) Overwrites Equals method to compare Email properties
hashCode() Overrides GetHashCode method

Email()

public Email()

getAddress()

public final String getAddress()

Get or set Email address.

Returns: java.lang.String

setAddress(String value)

public final void setAddress(String value)

Get or set Email address.

Parameters:

Parameter Type Description
value java.lang.String

getSubject()

public final String getSubject()

Get or set email Subject.

Returns: java.lang.String

setSubject(String value)

public final void setSubject(String value)

Get or set email Subject.

Parameters:

Parameter Type Description
value java.lang.String

getBody()

public final String getBody()

Get or set Body of email message.

Returns: java.lang.String

setBody(String value)

public final void setBody(String value)

Get or set Body of email message.

Parameters:

Parameter Type Description
value java.lang.String

equals(Object source)

public boolean equals(Object source)

Overwrites Equals method to compare Email properties

Parameters:

Parameter Type Description
source java.lang.Object Email object to compare with.

Returns: boolean - Returns true if passed address object has same type and all its properties are equal to this instance properties.

hashCode()

public int hashCode()

Overrides GetHashCode method

Returns: int - Email hash code