@Transient @Deprecated /** * @deprecated now it is always stored as a simple annotation */ public String getUrl() { Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, CvTopic.URL_MI_REF); return annot != null ? annot.getAnnotationText() : null; }
@Transient @Deprecated /** * @deprecated now it is always stored as a simple annotation */ public String getPostalAddress() { Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, "postaladdress"); return annot != null ? annot.getAnnotationText() : null; }
public String extractStandardInchiKeyFrom(SmallMolecule interactor) { // find INCHI key final Annotation annotation = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(interactor, INCHI_MI_REF);// INCHI_MI_REF if (annotation != null){ return annotation.getAnnotationText(); } return null; } }
@Transient @Deprecated /** * @deprecated now it is always stored as a simple annotation */ public String getUrl() { Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, CvTopic.URL_MI_REF); return annot != null ? annot.getAnnotationText() : null; }
@Transient @Deprecated /** * @deprecated now it is always stored as a simple annotation */ public String getPostalAddress() { Annotation annot = AnnotatedObjectUtils.findAnnotationByTopicMiOrLabel(this, "postaladdress"); return annot != null ? annot.getAnnotationText() : null; }