org.opennms.netmgt.config.charts
Class SeriesDef

java.lang.Object
  extended by org.opennms.netmgt.config.charts.SeriesDef
All Implemented Interfaces:
Serializable

public class SeriesDef
extends Object
implements Serializable

Class SeriesDef.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
SeriesDef()
           
 
Method Summary
 void deleteNumber()
           
 void deleteUseLabels()
           
 JdbcDataSet getJdbcDataSet()
          Returns the value of field 'jdbcDataSet'.
 int getNumber()
          Returns the value of field 'number'.
 Rgb getRgb()
          Returns the value of field 'rgb'.
 String getSeriesName()
          Returns the value of field 'seriesName'.
 boolean getUseLabels()
          Returns the value of field 'useLabels'.
 boolean hasNumber()
          Method hasNumber.
 boolean hasUseLabels()
          Method hasUseLabels.
 boolean isUseLabels()
          Returns the value of field 'useLabels'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setJdbcDataSet(JdbcDataSet jdbcDataSet)
          Sets the value of field 'jdbcDataSet'.
 void setNumber(int number)
          Sets the value of field 'number'.
 void setRgb(Rgb rgb)
          Sets the value of field 'rgb'.
 void setSeriesName(String seriesName)
          Sets the value of field 'seriesName'.
 void setUseLabels(boolean useLabels)
          Sets the value of field 'useLabels'.
static SeriesDef unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeriesDef

public SeriesDef()
Method Detail

deleteNumber

public void deleteNumber()

deleteUseLabels

public void deleteUseLabels()

getJdbcDataSet

public JdbcDataSet getJdbcDataSet()
Returns the value of field 'jdbcDataSet'.

Returns:
the value of field 'JdbcDataSet'.

getNumber

public int getNumber()
Returns the value of field 'number'.

Returns:
the value of field 'Number'.

getRgb

public Rgb getRgb()
Returns the value of field 'rgb'.

Returns:
the value of field 'Rgb'.

getSeriesName

public String getSeriesName()
Returns the value of field 'seriesName'.

Returns:
the value of field 'SeriesName'.

getUseLabels

public boolean getUseLabels()
Returns the value of field 'useLabels'.

Returns:
the value of field 'UseLabels'.

hasNumber

public boolean hasNumber()
Method hasNumber.

Returns:
true if at least one Number has been added

hasUseLabels

public boolean hasUseLabels()
Method hasUseLabels.

Returns:
true if at least one UseLabels has been added

isUseLabels

public boolean isUseLabels()
Returns the value of field 'useLabels'.

Returns:
the value of field 'UseLabels'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setJdbcDataSet

public void setJdbcDataSet(JdbcDataSet jdbcDataSet)
Sets the value of field 'jdbcDataSet'.

Parameters:
jdbcDataSet - the value of field 'jdbcDataSet'.

setNumber

public void setNumber(int number)
Sets the value of field 'number'.

Parameters:
number - the value of field 'number'.

setRgb

public void setRgb(Rgb rgb)
Sets the value of field 'rgb'.

Parameters:
rgb - the value of field 'rgb'.

setSeriesName

public void setSeriesName(String seriesName)
Sets the value of field 'seriesName'.

Parameters:
seriesName - the value of field 'seriesName'.

setUseLabels

public void setUseLabels(boolean useLabels)
Sets the value of field 'useLabels'.

Parameters:
useLabels - the value of field 'useLabels'.

unmarshal

public static SeriesDef unmarshal(Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.charts.SeriesDef
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2008. All Rights Reserved.