Class AspectSource


  • public class AspectSource
    extends java.lang.Object
    Describes a source of data contributing to some data set. The sources names and hyperlinks are displayed on data set homepages.
    Author:
    Thomas Riley
    See Also:
    org.intermine.web.dataset.Aspect
    • Constructor Summary

      Constructors 
      Constructor Description
      AspectSource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Get the source name.
      java.lang.String getUrl()
      Get the URL back to source website.
      void setName​(java.lang.String sourceName)
      Set the source name.
      void setUrl​(java.lang.String url)
      Set the URL to source website.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AspectSource

        public AspectSource()
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the source name.
        Returns:
        the source name
      • setName

        public void setName​(java.lang.String sourceName)
        Set the source name.
        Parameters:
        sourceName - source name
      • getUrl

        public java.lang.String getUrl()
        Get the URL back to source website.
        Returns:
        URL
      • setUrl

        public void setUrl​(java.lang.String url)
        Set the URL to source website.
        Parameters:
        url - URL