Class Email
java.lang.Object
org.gcube.vomanagement.usermanagement.model.Email
- All Implemented Interfaces:
Serializable
The Class Email.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Email
public Email()Instantiates a new email. -
Email
Instantiates a new email.- Parameters:
email- the emailtype- the typeprimary- the primary
-
-
Method Details
-
getEmail
Gets the email.- Returns:
- the email
-
setEmail
Sets the email.- Parameters:
email- the new email
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
isPrimary
public boolean isPrimary()Checks if is primary.- Returns:
- true, if is primary
-
setPrimary
public void setPrimary(boolean primary) Sets the primary.- Parameters:
primary- the new primary
-
toString
-