public class InstantMessengerAddress extends Object
Constructor and Description |
---|
InstantMessengerAddress() |
InstantMessengerAddress(EnumWithCustomOfInstantMessengerCategory category,
String address,
Boolean preferred)
Initializes a new instance of the InstantMessengerAddress
|
Modifier and Type | Method and Description |
---|---|
InstantMessengerAddress |
address(String address) |
InstantMessengerAddress |
category(EnumWithCustomOfInstantMessengerCategory category) |
boolean |
equals(Object o) |
String |
getAddress()
Address.
|
EnumWithCustomOfInstantMessengerCategory |
getCategory()
Address category.
|
int |
hashCode() |
Boolean |
isPreferred()
Determines whether this address is preferred.
|
InstantMessengerAddress |
preferred(Boolean preferred) |
void |
setAddress(String address) |
void |
setCategory(EnumWithCustomOfInstantMessengerCategory category) |
void |
setPreferred(Boolean preferred) |
String |
toString() |
public InstantMessengerAddress()
public InstantMessengerAddress(EnumWithCustomOfInstantMessengerCategory category, String address, Boolean preferred)
category
- Address category.address
- Address.preferred
- Determines whether this address is preferred.public InstantMessengerAddress category(EnumWithCustomOfInstantMessengerCategory category)
public EnumWithCustomOfInstantMessengerCategory getCategory()
public void setCategory(EnumWithCustomOfInstantMessengerCategory category)
public InstantMessengerAddress address(String address)
public String getAddress()
public void setAddress(String address)
public InstantMessengerAddress preferred(Boolean preferred)
public Boolean isPreferred()
public void setPreferred(Boolean preferred)
Copyright © 2020. All rights reserved.