Class ParameterEmailValue

java.lang.Object
ru.bgcrm.model.param.ParameterEmailValue

public class ParameterEmailValue extends Object
  • Constructor Details

    • ParameterEmailValue

      public ParameterEmailValue()
    • ParameterEmailValue

      public ParameterEmailValue(String email)
    • ParameterEmailValue

      public ParameterEmailValue(String email, String comment)
  • Method Details

    • setValue

      public void setValue(String value) throws BGMessageException
      Setter.
      Parameters:
      value - E-Mail value.
      Throws:
      BGMessageException - when not E-Mail value is being set.
    • getValue

      public String getValue()
      Returns:
      E-Mail value.
    • getUsername

      public String getUsername()
      Returns:
      part of E-Mail before @.
    • getDomain

      public String getDomain()
      Returns:
      part of E-Mail after @.
    • getComment

      public String getComment()
      Returns:
      person's title.
    • setComment

      public void setComment(String comment)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public static final String toString(Iterable<ParameterEmailValue> emails)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object