java.lang.Object
org.gcube.vomanagement.usermanagement.model.Email
All Implemented Interfaces:
Serializable

public class Email extends Object implements Serializable
The Class Email.
See Also:
  • Constructor Details

    • Email

      public Email()
      Instantiates a new email.
    • Email

      public Email(String email, String type, boolean primary)
      Instantiates a new email.
      Parameters:
      email - the email
      type - the type
      primary - the primary
  • Method Details

    • getEmail

      public String getEmail()
      Gets the email.
      Returns:
      the email
    • setEmail

      public void setEmail(String email)
      Sets the email.
      Parameters:
      email - the new email
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(String type)
      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

      public String toString()
      Overrides:
      toString in class Object