org.gcube.messaging.common.consumer.mail
Class Chart

java.lang.Object
  extended by org.gcube.messaging.common.consumer.mail.Chart

public class Chart
extends java.lang.Object

Author:
Andrea Manzi(CERN)

Constructor Summary
Chart()
          The cosntructor
 
Method Summary
 void addData(java.lang.Double data)
          add data
 java.lang.String getChartHTMLTag()
          get the google chart URL
 java.lang.String getChartString()
          get the CHART URL as string
 java.lang.String getDescription()
          get the description
 java.lang.String getLabel()
          get the label
 java.lang.String getSize()
          get the size
 java.lang.String getType()
          get the type
 java.net.URL getUrl()
          ger the URL
 void setDescription(java.lang.String description)
          set the description
 void setLabel(java.lang.String label)
          set the label
 void setSize(java.lang.String size)
          set the size
 void setType(java.lang.String type)
          set the type
 void setUrl(java.net.URL url)
          Set the URL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chart

public Chart()
The cosntructor

Method Detail

getDescription

public java.lang.String getDescription()
get the description

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
set the description

Parameters:
description - the description

getUrl

public java.net.URL getUrl()
ger the URL

Returns:
the URL

setUrl

public void setUrl(java.net.URL url)
Set the URL

Parameters:
url - the URL

getSize

public java.lang.String getSize()
get the size

Returns:
the size

setSize

public void setSize(java.lang.String size)
set the size

Parameters:
size - the size

getType

public java.lang.String getType()
get the type

Returns:
the type

setType

public void setType(java.lang.String type)
set the type

Parameters:
type - the type

addData

public void addData(java.lang.Double data)
add data

Parameters:
data - the data

getLabel

public java.lang.String getLabel()
get the label

Returns:
the lable

setLabel

public void setLabel(java.lang.String label)
set the label

Parameters:
label -

getChartString

public java.lang.String getChartString()
get the CHART URL as string

Returns:
the chart URL as string

getChartHTMLTag

public java.lang.String getChartHTMLTag()
get the google chart URL

Returns:
the google chart URL