|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jml.impl.MsnGroupImpl
public class MsnGroupImpl
| Constructor Summary | |
|---|---|
MsnGroupImpl(MsnContactList contactList)
|
|
MsnGroupImpl(MsnContactList contactList,
boolean defaultGroup)
|
|
| Method Summary | |
|---|---|
void |
addContact(String id)
|
void |
clear()
|
boolean |
containContact(MsnContact contact)
Contain contact. |
boolean |
equals(Object obj)
|
MsnContactList |
getContactList()
Get the contact list the group belongs to. |
MsnContact[] |
getContacts()
Get the contacts belong the group. |
String |
getGroupId()
Get group id which can't be changed. |
String |
getGroupName()
Get group name which can be changed. |
int |
hashCode()
|
boolean |
isDefaultGroup()
Is default group. |
void |
removeContact(String id)
|
void |
setGroupId(String groupId)
|
void |
setGroupName(String groupName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MsnGroupImpl(MsnContactList contactList)
public MsnGroupImpl(MsnContactList contactList,
boolean defaultGroup)
| Method Detail |
|---|
public MsnContactList getContactList()
MsnGroup
getContactList in interface MsnGrouppublic boolean isDefaultGroup()
MsnGroup
isDefaultGroup in interface MsnGrouppublic String getGroupId()
MsnGroup
getGroupId in interface MsnGrouppublic String getGroupName()
MsnGroup
getGroupName in interface MsnGrouppublic MsnContact[] getContacts()
MsnGroup
getContacts in interface MsnGrouppublic boolean containContact(MsnContact contact)
MsnGroup
containContact in interface MsnGroupcontact - MsnContact
public void setGroupId(String groupId)
public void setGroupName(String groupName)
public void addContact(String id)
public void removeContact(String id)
public void clear()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
JML | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||