com.compomics.util.experiment.biology.ions
Class Glycon

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.biology.Ion
          extended by com.compomics.util.experiment.biology.ions.Glycon
All Implemented Interfaces:
Serializable, Cloneable

public class Glycon
extends Ion

This class will models a glycon fragment. Created by IntelliJ IDEA. User: Marc Date: Jun 18, 2010 Time: 1:36:49 PM

See Also:
Serialized Form

Field Summary
static int DEUTEROACETYLATED_MASS
          Final index for deuteroacetylated masses
static int DEUTEROMETHYLATED_MASS
          Final index for deuteromethylated masses
static int PERACETYLATED_MASS
          Final index for peracetylated masses
static int PERMETHYLATED_MASS
          Final index for permethylated masses
static int UNDERIVATED_MASS
          Final index for underivated masses
 
Fields inherited from class com.compomics.util.experiment.biology.Ion
ELEMENTARY_ION, familyType, GLYCON_FRAGMENT, PEPTIDE_FRAGMENT, REPORTER_ION, theoreticMass
 
Constructor Summary
Glycon(String aName, String aShortName)
          Constructor for a glycon
 
Method Summary
 void addMass(int massType, double value)
          Add a mass for this glycon
 double getMass(int aType)
          Get the glycon mass
 String getName()
          Getter for the glycons name
 String getShortName()
          Getter for the glycons short name
 
Methods inherited from class com.compomics.util.experiment.biology.Ion
getIonFamilyType, proton
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDERIVATED_MASS

public static final int UNDERIVATED_MASS
Final index for underivated masses

See Also:
Constant Field Values

PERMETHYLATED_MASS

public static final int PERMETHYLATED_MASS
Final index for permethylated masses

See Also:
Constant Field Values

DEUTEROMETHYLATED_MASS

public static final int DEUTEROMETHYLATED_MASS
Final index for deuteromethylated masses

See Also:
Constant Field Values

PERACETYLATED_MASS

public static final int PERACETYLATED_MASS
Final index for peracetylated masses

See Also:
Constant Field Values

DEUTEROACETYLATED_MASS

public static final int DEUTEROACETYLATED_MASS
Final index for deuteroacetylated masses

See Also:
Constant Field Values
Constructor Detail

Glycon

public Glycon(String aName,
              String aShortName)
Constructor for a glycon

Parameters:
aName - The name of the glycon
aShortName - A shortened name for the glycon
Method Detail

addMass

public void addMass(int massType,
                    double value)
Add a mass for this glycon

Parameters:
massType - mass type indexed according to the static field
value - Value of the mass

getMass

public double getMass(int aType)
Get the glycon mass

Parameters:
aType - Type of mass requested indexed according to static int.
Returns:
the requested mass

getName

public String getName()
Getter for the glycons name

Returns:
the glycons name

getShortName

public String getShortName()
Getter for the glycons short name

Returns:
the glycon short name


Copyright © 2011. All Rights Reserved.