|
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 MsnGroup
public boolean isDefaultGroup()
MsnGroup
isDefaultGroup
in interface MsnGroup
public String getGroupId()
MsnGroup
getGroupId
in interface MsnGroup
public String getGroupName()
MsnGroup
getGroupName
in interface MsnGroup
public MsnContact[] getContacts()
MsnGroup
getContacts
in interface MsnGroup
public boolean containContact(MsnContact contact)
MsnGroup
containContact
in interface MsnGroup
contact
- 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 Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |