org.intermine.web.logic.aspects
Class Aspect

java.lang.Object
  extended by org.intermine.web.logic.aspects.Aspect

public class Aspect
extends java.lang.Object

Configuration for a single data set. A data set describes a particular category of data/classes/ templates/example queries that are displayed on a 'data set homepage' that acts as a starting point for users interested in a particular aspect of the data.


Constructor Summary
Aspect()
           
 
Method Summary
 void addAspectSource(AspectSource aspectSource)
          Add a AspectSource.
 java.util.List getAspectSources()
          Get the AspectSources.
 java.lang.String getIconImage()
          Get the icon Image.
 java.lang.String getIntroText()
          Get the introduction text.
 java.lang.String getLargeImage()
          Webapp relative path to large image.
 java.lang.String getName()
          Get the name of the data set.
 java.util.List getStartingPoints()
          Get a List of starting point class names.
 java.lang.String getSubTitle()
          Get the subtitle
 java.lang.String getTileName()
          Get the name of tile/page to embed in the centre of the data set homepage
 void setIconImage(java.lang.String iconImage)
          Set the icon Image
 void setIntroText(java.lang.String introText)
          Set the introduction text
 void setLargeImage(java.lang.String largeImage)
          Set the webapp relative path to the large image.
 void setName(java.lang.String name)
          Set the data set name.
 void setStartingPoints(java.lang.String classnames)
          Set the starting point class names as a space seperated list.
 void setSubTitle(java.lang.String subTitle)
          Set the subtitle.
 void setTileName(java.lang.String tileName)
          Set the name of the tile/page to embed in the centre of the data set homepage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aspect

public Aspect()
Method Detail

getName

public java.lang.String getName()
Get the name of the data set.

Returns:
the data set name

setName

public void setName(java.lang.String name)
Set the data set name.

Parameters:
name - the data set name

getSubTitle

public java.lang.String getSubTitle()
Get the subtitle

Returns:
the subtitle

setSubTitle

public void setSubTitle(java.lang.String subTitle)
Set the subtitle.

Parameters:
subTitle - the subtitle for the data set

getAspectSources

public java.util.List getAspectSources()
Get the AspectSources.

Returns:
the AspectSources

addAspectSource

public void addAspectSource(AspectSource aspectSource)
Add a AspectSource.

Parameters:
aspectSource - the AspectSource to add

getIconImage

public java.lang.String getIconImage()
Get the icon Image.

Returns:
the icon Image

setIconImage

public void setIconImage(java.lang.String iconImage)
Set the icon Image

Parameters:
iconImage - the icon Image

getIntroText

public java.lang.String getIntroText()
Get the introduction text.

Returns:
the introduction text

setIntroText

public void setIntroText(java.lang.String introText)
Set the introduction text

Parameters:
introText - the introduction text

getLargeImage

public java.lang.String getLargeImage()
Webapp relative path to large image.

Returns:
the path to the large image

setLargeImage

public void setLargeImage(java.lang.String largeImage)
Set the webapp relative path to the large image.

Parameters:
largeImage - path to large image

getTileName

public java.lang.String getTileName()
Get the name of tile/page to embed in the centre of the data set homepage

Returns:
the name of the tile/page to embed in the centre of the data set homepage

setTileName

public void setTileName(java.lang.String tileName)
Set the name of the tile/page to embed in the centre of the data set homepage.

Parameters:
tileName - the name of the tile/page to embed in the centre of the data set homepage

setStartingPoints

public void setStartingPoints(java.lang.String classnames)
Set the starting point class names as a space seperated list.

Parameters:
classnames - class names as a space seperated list

getStartingPoints

public java.util.List getStartingPoints()
Get a List of starting point class names.

Returns:
List of class names