public static class GlycanFragAnnotation.FragBuilder extends Object
| Constructor and Description |
|---|
GlycanFragAnnotation.FragBuilder(GlycanFragAnnotation src)
Copy constructor
|
GlycanFragAnnotation.FragBuilder(int charge,
GlycanFragment fragment)
Construct a new FragBuilder
|
| Modifier and Type | Method and Description |
|---|---|
GlycanFragAnnotation.FragBuilder |
addC13(int count)
Add
count C13 isotopes |
GlycanFragAnnotation.FragBuilder |
addH2(int count)
Add
count H2 isotpes |
GlycanFragAnnotation.FragBuilder |
addIsotope(Atom isotope)
Add the
isotope |
GlycanFragAnnotation.FragBuilder |
addIsotopeComposition(Composition isotopeComposition)
Add all the atoms from
isotopeComposition |
GlycanFragAnnotation |
build()
Build the CrossRingFragAnnotation annotation.
|
GlycanFragAnnotation.FragBuilder |
setNeutralLoss(Mass neutralLoss)
Set the neutral loss
|
public GlycanFragAnnotation.FragBuilder(int charge,
GlycanFragment fragment)
charge - the chargefragment - the glycan fragmentpublic GlycanFragAnnotation.FragBuilder(GlycanFragAnnotation src)
src - the GlycanFragAnnotation from which to copy the valuespublic final GlycanFragAnnotation.FragBuilder setNeutralLoss(Mass neutralLoss)
neutralLoss - the neutral losspublic final GlycanFragAnnotation.FragBuilder addC13(int count)
count C13 isotopescount - the number of C13 isotopespublic final GlycanFragAnnotation.FragBuilder addH2(int count)
count H2 isotpescount - the number of H2 to addpublic final GlycanFragAnnotation.FragBuilder addIsotope(Atom isotope)
isotopeisotope - the isotope to addpublic final GlycanFragAnnotation.FragBuilder addIsotopeComposition(Composition isotopeComposition)
isotopeCompositionisotopeComposition - the atoms to addpublic final GlycanFragAnnotation build()
Copyright © 2016. All Rights Reserved.