Package org.moltools.design.data.impl

Examples of org.moltools.design.data.impl.SimpleProperty


  /**Set the TSSPair of this probe*/
  protected void setTSSPair(TSSPair pair) {
    tssPair = pair;
    String targetID = pair == null ? null : DesignUtils.getTargetID(pair);
    mps.setProperty(new SimpleProperty(KEY_TARGET_ID,targetID,false));
    sequence.replace(0,sequence.length(),composeSequence());
  }
View Full Code Here


  public TSSPair(PropertyAcceptorNucleotideSequence five, PropertyAcceptorNucleotideSequence three, ProbeMakerTarget t) {
    super(KEY_SET, t == null ? null : t.getID(),"TSS_PAIR|" + (t == null ? null : t.getID())); //$NON-NLS-1$
    fivePrime = five;
    threePrime = three;
    target = t;   
    mps.setProperty(new SimpleProperty(KEY_TARGET_ID,target == null ? null : target.getID(),true));
  }
View Full Code Here

/**Factory class for creating certain kinds of ProbeMaker-specific sequence types*/
public class ProbeMakerSequenceFactory {
 
  public static PropertyAcceptorNucleotideSequence createTSS(NucleotideSequence seq, String targetID) {
    PropertyAcceptorNucleotideSequence tss = new DefaultChangeablePropertyNucleotideSequence(seq.getID(),seq.seqString(),seq.getType());       
    tss.getMutablePropertySet().setProperty(new SimpleProperty(Targetted.KEY_TARGET_ID,targetID,false));
    return tss;
  }
View Full Code Here

  /**Set the TSSPair of this probe*/
  protected void setTSSPair(TSSPair pair) {
    tssPair = pair;
    String targetID = pair == null ? null : DesignUtils.getTargetID(pair);
    mps.setProperty(new SimpleProperty(KEY_TARGET_ID,targetID,false));
    sequence.replace(0,sequence.length(),composeSequence());
  }
View Full Code Here

  public static final String KEY_MESSAGE = "message"; //$NON-NLS-1$
  public static final String KEY_TM = "tm_complement";   //$NON-NLS-1$
 
  /**Add a message to a MessageHolder*/
  public static void addMessage(PropertyAcceptor pa, Message m) {
    pa.getMutablePropertySet().addProperty(new SimpleProperty(KEY_MESSAGE,m,true));
  }
View Full Code Here

    return tmValue.floatValue();
  }
 
  /**Set the hybridization temp of a TSS*/
  public static void setHybridizationTemp(PropertyAcceptor pa, float temp) {
    pa.getMutablePropertySet().setProperty(new SimpleProperty(KEY_TM,new Float(temp),false));
  }
View Full Code Here

    return rankValue.shortValue();
  }
 
  /**Set the rank value for a candidate*/
  public static void setRank(PropertyAcceptor c, short rank) {
    c.getMutablePropertySet().setProperty(new SimpleProperty(KEY_RANK,new Short(rank),false));   
  }
View Full Code Here

/**Factory class for creating certain kinds of ProbeMaker-specific sequence types*/
public class ProbeMakerSequenceFactory {
 
  public static PropertyAcceptorNucleotideSequence createTSS(NucleotideSequence seq, String targetID) {
    PropertyAcceptorNucleotideSequence tss = new DefaultChangeablePropertyNucleotideSequence(seq.getID(),seq.seqString(),seq.getType());       
    tss.getMutablePropertySet().setProperty(new SimpleProperty(Targetted.KEY_TARGET_ID,targetID,false));
    return tss;
  }
View Full Code Here

TOP

Related Classes of org.moltools.design.data.impl.SimpleProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.