com.compomics.util.pride.prideobjects
Class ReferenceGroup

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

public class ReferenceGroup
extends Object
implements PrideObject, Serializable

An object for storing ReferenceGroup details.

Author:
Harald Barsnes
See Also:
Serialized Form

Constructor Summary
ReferenceGroup(ArrayList<Reference> references, String groupName)
          Create a new ReferenceGroup object.
 
Method Summary
static ArrayList<ReferenceGroup> getDefaultReferences()
          Returns the default references.
 String getFileName()
          Returns the name to use when serializing the object.
 String getName()
          Returns the references group name.
 ArrayList<Reference> getReferences()
          Returns the references.
 void setName(String groupName)
          Set the references group name.
 void setReferences(ArrayList<Reference> reference)
          Set the reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceGroup

public ReferenceGroup(ArrayList<Reference> references,
                      String groupName)
Create a new ReferenceGroup object.

Parameters:
references - the list of references
groupName - the reference group name
Method Detail

getReferences

public ArrayList<Reference> getReferences()
Returns the references.

Returns:
the name

setReferences

public void setReferences(ArrayList<Reference> reference)
Set the reference.

Parameters:
reference -

getName

public String getName()
Returns the references group name.

Returns:
the group name

setName

public void setName(String groupName)
Set the references group name.

Parameters:
groupName - the group name to set

getDefaultReferences

public static ArrayList<ReferenceGroup> getDefaultReferences()
Returns the default references.

Returns:
the default references

getFileName

public 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.