Class WikidataMolecule

java.lang.Object
net.bioclipse.core.domain.BioObject
net.bioclipse.wikidata.domain.WikidataMolecule
All Implemented Interfaces:
net.bioclipse.core.domain.IBioObject, net.bioclipse.core.domain.IMolecule, IWikidataMolecule, org.eclipse.core.runtime.IAdaptable

public class WikidataMolecule extends net.bioclipse.core.domain.BioObject implements IWikidataMolecule
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bioclipse.core.domain.IMolecule

    net.bioclipse.core.domain.IMolecule.Property
  • Field Summary

    Fields inherited from class net.bioclipse.core.domain.BioObject

    resource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bioclipse.cdk.domain.ICDKMolecule
     
    getAdapter(Class adapter)
     
    List<net.bioclipse.core.domain.IMolecule>
     
     
    org.eclipse.core.resources.IResource
     
     
     

    Methods inherited from class net.bioclipse.core.domain.BioObject

    getUID, setResource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.bioclipse.core.domain.IBioObject

    getUID, setResource
  • Constructor Details

    • WikidataMolecule

      public WikidataMolecule(String identifier)
  • Method Details

    • getConformers

      public List<net.bioclipse.core.domain.IMolecule> getConformers()
      Specified by:
      getConformers in interface net.bioclipse.core.domain.IMolecule
    • toSMILES

      public String toSMILES() throws net.bioclipse.core.business.BioclipseException
      Specified by:
      toSMILES in interface net.bioclipse.core.domain.IMolecule
      Throws:
      net.bioclipse.core.business.BioclipseException
    • toCML

      public String toCML() throws net.bioclipse.core.business.BioclipseException
      Specified by:
      toCML in interface net.bioclipse.core.domain.IMolecule
      Throws:
      net.bioclipse.core.business.BioclipseException
    • getResource

      public org.eclipse.core.resources.IResource getResource()
      Specified by:
      getResource in interface net.bioclipse.core.domain.IBioObject
      Overrides:
      getResource in class net.bioclipse.core.domain.BioObject
    • asCDKMolecule

      public net.bioclipse.cdk.domain.ICDKMolecule asCDKMolecule() throws net.bioclipse.core.business.BioclipseException
      Throws:
      net.bioclipse.core.business.BioclipseException
    • getAdapter

      public Object getAdapter(Class adapter)
      Specified by:
      getAdapter in interface org.eclipse.core.runtime.IAdaptable
      Overrides:
      getAdapter in class net.bioclipse.core.domain.BioObject
    • getId

      public String getId()
      Specified by:
      getId in interface IWikidataMolecule