public class InfoContactModel extends com.extjs.gxt.ui.client.data.BaseModelData implements ContactLogin, Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator<InfoContactModel> |
COMPARATORFULLNAME |
static Comparator<InfoContactModel> |
COMPARATORLOGINS |
static String |
FULLNAME |
protected static String |
ID |
static String |
ISGROUP |
static String |
LOGIN |
Constructor and Description |
---|
InfoContactModel()
Instantiates a new info contact model.
|
InfoContactModel(String id,
String login,
String fullName,
boolean isGroup)
Instantiates a new info contact model.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
String |
getLogin()
Gets the login.
|
String |
getName()
Gets the name.
|
boolean |
isGroup()
Checks if is group.
|
void |
setId(String id)
Sets the id.
|
void |
setIsGroup(boolean isGroup)
Sets the checks if is group.
|
void |
setLogin(String login)
Sets the login.
|
void |
setName(String name)
Sets the name.
|
String |
toString() |
protected static final String ID
public static final String FULLNAME
public static final String LOGIN
public static final String ISGROUP
public static Comparator<InfoContactModel> COMPARATORFULLNAME
public static Comparator<InfoContactModel> COMPARATORLOGINS
public InfoContactModel()
public void setIsGroup(boolean isGroup)
isGroup
- the new checks if is grouppublic boolean isGroup()
public void setName(String name)
name
- the new namepublic String getName()
public String getId()
public void setId(String id)
id
- the new idpublic String getLogin()
ContactLogin
getLogin
in interface ContactLogin
public void setLogin(String login)
login
- the new loginCopyright © 2016. All Rights Reserved.