Package ru.bgcrm.model.param
Class ParameterEmailValue
java.lang.Object
ru.bgcrm.model.param.ParameterEmailValue
-
Constructor Summary
ConstructorDescriptionParameterEmailValue
(String email) ParameterEmailValue
(String email, String comment) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getValue()
int
hashCode()
void
setComment
(String comment) void
Setter.toString()
static final String
toString
(Iterable<ParameterEmailValue> emails)
-
Constructor Details
-
ParameterEmailValue
public ParameterEmailValue() -
ParameterEmailValue
-
ParameterEmailValue
-
-
Method Details
-
setValue
Setter.- Parameters:
value
- E-Mail value.- Throws:
BGMessageException
- when not E-Mail value is being set.
-
getValue
- Returns:
- E-Mail value.
-
getUsername
- Returns:
- part of E-Mail before
@
.
-
getDomain
- Returns:
- part of E-Mail after
@
.
-
getComment
- Returns:
- person's title.
-
setComment
-
toString
-
toString
-
hashCode
public int hashCode() -
equals
-