starfish.chemistry
Class NoeSet

java.lang.Object
  extended by starfish.chemistry.NoeSet
All Implemented Interfaces:
java.lang.Iterable, ConstraintSet

public class NoeSet
extends java.lang.Object
implements ConstraintSet, java.lang.Iterable

Author:
brucejohnson

Field Summary
static int ID
           
static starfish.datasets.peaks.Peak lastPeakWritten
           
static int memberID
           
 
Constructor Summary
NoeSet(java.lang.String name)
           
 
Method Summary
 void add(Constraint noe)
           
static NoeSet addSet(java.lang.String name)
           
 void clear()
           
 void clearScaleMap()
           
 java.util.ArrayList<Noe> get()
           
 Noe get(int i)
           
 NoeCalibration getCalibration(starfish.datasets.peaks.PeakList peakList)
           
 java.lang.String getCategory()
           
 java.util.ArrayList<Noe> getConstraintsForPeak(starfish.datasets.peaks.Peak peak)
           
 java.lang.String getListType()
           
 java.lang.String[] getLoopStrings()
           
 java.lang.String getName()
           
static java.util.ArrayList<java.lang.String> getNames()
           
 java.util.Set<java.util.Map.Entry<starfish.datasets.peaks.Peak,java.util.ArrayList<Noe>>> getPeakMapEntries()
           
static NoeSet getSet(java.lang.String name)
           
 int getSize()
           
 java.lang.String getType()
           
 boolean isDirty()
           
 java.util.Iterator iterator()
           
static void reset()
           
 void resetWriting()
           
 void setDirty()
           
 void setScale(starfish.datasets.peaks.PeakList peakList, NoeCalibration noeCal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastPeakWritten

public static starfish.datasets.peaks.Peak lastPeakWritten

memberID

public static int memberID

ID

public static int ID
Constructor Detail

NoeSet

public NoeSet(java.lang.String name)
Method Detail

addSet

public static NoeSet addSet(java.lang.String name)

reset

public static void reset()

getName

public java.lang.String getName()
Specified by:
getName in interface ConstraintSet

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface ConstraintSet

getListType

public java.lang.String getListType()
Specified by:
getListType in interface ConstraintSet

getType

public java.lang.String getType()
Specified by:
getType in interface ConstraintSet

getSet

public static NoeSet getSet(java.lang.String name)

getNames

public static java.util.ArrayList<java.lang.String> getNames()

getSize

public int getSize()
Specified by:
getSize in interface ConstraintSet

clear

public void clear()
Specified by:
clear in interface ConstraintSet

add

public void add(Constraint noe)
Specified by:
add in interface ConstraintSet

get

public java.util.ArrayList<Noe> get()

get

public Noe get(int i)
Specified by:
get in interface ConstraintSet

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface ConstraintSet

getConstraintsForPeak

public java.util.ArrayList<Noe> getConstraintsForPeak(starfish.datasets.peaks.Peak peak)

getPeakMapEntries

public java.util.Set<java.util.Map.Entry<starfish.datasets.peaks.Peak,java.util.ArrayList<Noe>>> getPeakMapEntries()

clearScaleMap

public void clearScaleMap()

setScale

public void setScale(starfish.datasets.peaks.PeakList peakList,
                     NoeCalibration noeCal)

getCalibration

public NoeCalibration getCalibration(starfish.datasets.peaks.PeakList peakList)

isDirty

public boolean isDirty()
Specified by:
isDirty in interface ConstraintSet

setDirty

public void setDirty()
Specified by:
setDirty in interface ConstraintSet

getLoopStrings

public java.lang.String[] getLoopStrings()
Specified by:
getLoopStrings in interface ConstraintSet

resetWriting

public void resetWriting()
Specified by:
resetWriting in interface ConstraintSet


Copyright © 2010 One Moon Scientific, Inc. All Rights Reserved.