com.compomics.util.pride.prideobjects
Class ContactGroup

java.lang.Object
  extended by com.compomics.util.pride.prideobjects.ContactGroup
All Implemented Interfaces:
PrideObject, java.io.Serializable

public class ContactGroup
extends java.lang.Object
implements PrideObject, java.io.Serializable

An object for storing ContactGroup details.

Author:
Harald Barsnes
See Also:
Serialized Form

Constructor Summary
ContactGroup(java.util.ArrayList<Contact> contacts, java.lang.String groupName)
          Create a new ContactGroup object.
 
Method Summary
 java.util.ArrayList<Contact> getContacts()
          Returns the contacts.
 java.lang.String getFileName()
          Returns the name to use when serializing the object.
 java.lang.String getName()
          Returns the contact group name.
 void setContacts(java.util.ArrayList<Contact> contacts)
          Set the contacts.
 void setName(java.lang.String groupName)
          Set the contact group name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactGroup

public ContactGroup(java.util.ArrayList<Contact> contacts,
                    java.lang.String groupName)
Create a new ContactGroup object.

Parameters:
contacts - the list of contacts
groupName - the contact group name
Method Detail

getContacts

public java.util.ArrayList<Contact> getContacts()
Returns the contacts.

Returns:
the name

setContacts

public void setContacts(java.util.ArrayList<Contact> contacts)
Set the contacts.

Parameters:
contacts -

getName

public java.lang.String getName()
Returns the contact group name.

Returns:
the group name

setName

public void setName(java.lang.String groupName)
Set the contact group name.

Parameters:
groupName - the group name to set

getFileName

public java.lang.String getFileName()
Description copied from interface: PrideObject
Returns the name to use when serializing the object.

Specified by:
getFileName in interface PrideObject
Returns:
the name to use when serializing the object


Copyright © 2013. All Rights Reserved.