public final class RecipientTerm extends AddressTerm
| Modifier and Type | Field and Description |
|---|---|
protected Message.RecipientType |
type |
address| Constructor and Description |
|---|
RecipientTerm(Message.RecipientType type,
Address address) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
Message.RecipientType |
getRecipientType() |
int |
hashCode() |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
getAddress, matchprotected Message.RecipientType type
public RecipientTerm(Message.RecipientType type, Address address)
public Message.RecipientType getRecipientType()
public boolean match(Message message)
SearchTermmatch in class SearchTermmessage - the message to apply the matching criteria topublic boolean equals(java.lang.Object other)
equals in class AddressTermpublic int hashCode()
hashCode in class AddressTerm