Ejemplo n.º 1
0
 /** ************************************************************************* * * Get the value */
 public String getDisplayValue(SourceSrc ss) {
   StringBuffer buf = new StringBuffer();
   PertDictionary pd = ss.getPertDictionary();
   PertProperties pp = pd.getPerturbProps(typeKey_);
   String name = ss.getSourceName(srcNameKey_);
   buf.append(name);
   String useMe = pp.getAbbrev();
   if (useMe == null) {
     buf.append(" ");
     buf.append(pp.getType());
   } else {
     buf.append(useMe);
   }
   return (buf.toString());
 }
Ejemplo n.º 2
0
 /**
  * ************************************************************************* * * Get the sign
  * relationship of the source (e.g. SAME_SIGN, OPPOSITE_SIGN)
  */
 public PertDictionary.PertLinkRelation getSign(SourceSrc ss) {
   PertDictionary pDict = ss.getPertDictionary();
   PertProperties pprops = getExpType(pDict);
   if (isAProxy()) {
     return (pprops.getRelationWithProxy(getProxySign()));
   } else {
     return (pprops.getLinkSignRelationship());
   }
 }
Ejemplo n.º 3
0
 /**
  * ************************************************************************* * * Get the value
  * with a notes as bracket or superscript
  */
 public String getDisplayValueWithFootnotes(SourceSrc ss, boolean asSuper) {
   PertAnnotations pa = ss.getPertAnnotations();
   StringBuffer buf = new StringBuffer();
   buf.append(getDisplayValue(ss));
   if (!annotations_.isEmpty()) {
     buf.append((asSuper) ? "<sup>" : " [");
     buf.append(pa.getFootnoteListAsString(annotations_));
     buf.append((asSuper) ? "</sup>" : "]");
   }
   return (buf.toString());
 }
Ejemplo n.º 4
0
 /**
  * ************************************************************************* * * Get the proxied
  * Name
  */
 public String getProxiedSpeciesName(SourceSrc ss) {
   return (ss.getSourceName(proxyForKey_));
 }
Ejemplo n.º 5
0
 /**
  * ************************************************************************* * * Get the source
  * Name
  */
 public String getSourceName(SourceSrc ss) {
   return (ss.getSourceName(srcNameKey_));
 }