org.eclipse.birt.chart.model.data
Interface SeriesDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
SeriesDefinitionImpl

public interface SeriesDefinition
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Series Definition'. This type represents design-time definition for a series.

The following features are supported:

See Also:
DataPackage.getSeriesDefinition()

Field Summary
static SeriesDefinition[] EMPTY_ARRAY
           
 
Method Summary
 Series getDesignTimeSeries()
           
 FormatSpecifier getFormatSpecifier()
          Returns the value of the 'Format Specifier' containment reference.
 SeriesGrouping getGrouping()
          Returns the value of the 'Grouping' containment reference.
 Query getQuery()
          Returns the value of the 'Query' containment reference.
 java.util.List<Series> getRunTimeSeries()
           
 org.eclipse.emf.common.util.EList getSeries()
          Returns the value of the 'Series' containment reference list.
 org.eclipse.emf.common.util.EList getSeriesDefinitions()
          Returns the value of the 'Series Definitions' containment reference list.
 Palette getSeriesPalette()
          Returns the value of the 'Series Palette' containment reference.
 SortOption getSorting()
          Returns the value of the 'Sorting' attribute.
 Query getSortKey()
          Returns the value of the 'Sort Key' containment reference.
 boolean isSetSorting()
          Returns whether the value of the 'Sorting' attribute is set.
 void setFormatSpecifier(FormatSpecifier value)
          Sets the value of the 'Format Specifier' containment reference.
 void setGrouping(SeriesGrouping value)
          Sets the value of the 'Grouping' containment reference.
 void setQuery(Query value)
          Sets the value of the 'Query' containment reference.
 void setSeriesPalette(Palette value)
          Sets the value of the 'Series Palette' containment reference.
 void setSorting(SortOption value)
          Sets the value of the 'Sorting' attribute.
 void setSortKey(Query value)
          Sets the value of the 'Sort Key' containment reference.
 void unsetSorting()
          Unsets the value of the 'Sorting' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

EMPTY_ARRAY

static final SeriesDefinition[] EMPTY_ARRAY
Method Detail

getQuery

Query getQuery()
Returns the value of the 'Query' containment reference.

Returns:
the value of the 'Query' containment reference.
See Also:
setQuery(Query), DataPackage.getSeriesDefinition_Query()

setQuery

void setQuery(Query value)
Sets the value of the 'Query' containment reference.

Parameters:
value - the new value of the 'Query' containment reference.
See Also:
getQuery()

getSeriesPalette

Palette getSeriesPalette()
Returns the value of the 'Series Palette' containment reference. Gets the palette associated with the series definiton instance. This palette will be used to determine the sequence of colors for the series that are represented by this definition.

Returns:
the value of the 'Series Palette' containment reference.
See Also:
setSeriesPalette(Palette), DataPackage.getSeriesDefinition_SeriesPalette()

setSeriesPalette

void setSeriesPalette(Palette value)
Sets the value of the 'Series Palette' containment reference.

Parameters:
value - the new value of the 'Series Palette' containment reference.
See Also:
getSeriesPalette()

getSeriesDefinitions

org.eclipse.emf.common.util.EList getSeriesDefinitions()
Returns the value of the 'Series Definitions' containment reference list. The list contents are of type SeriesDefinition.

Returns:
the value of the 'Series Definitions' containment reference list.
See Also:
DataPackage.getSeriesDefinition_SeriesDefinitions()

getFormatSpecifier

FormatSpecifier getFormatSpecifier()
Returns the value of the 'Format Specifier' containment reference.

Returns:
the value of the 'Format Specifier' containment reference.
See Also:
setFormatSpecifier(FormatSpecifier), DataPackage.getSeriesDefinition_FormatSpecifier()

setFormatSpecifier

void setFormatSpecifier(FormatSpecifier value)
Sets the value of the 'Format Specifier' containment reference.

Parameters:
value - the new value of the 'Format Specifier' containment reference.
See Also:
getFormatSpecifier()

getSeries

org.eclipse.emf.common.util.EList getSeries()
Returns the value of the 'Series' containment reference list. The list contents are of type Series. Holds all the series for the chart.

Returns:
the value of the 'Series' containment reference list.
See Also:
DataPackage.getSeriesDefinition_Series()

getGrouping

SeriesGrouping getGrouping()
Returns the value of the 'Grouping' containment reference. Defines if and how the series data is to be grouped for display. This should only be applied to Base Series.

Returns:
the value of the 'Grouping' containment reference.
See Also:
setGrouping(SeriesGrouping), DataPackage.getSeriesDefinition_Grouping()

setGrouping

void setGrouping(SeriesGrouping value)
Sets the value of the 'Grouping' containment reference.

Parameters:
value - the new value of the 'Grouping' containment reference.
See Also:
getGrouping()

getSorting

SortOption getSorting()
Returns the value of the 'Sorting' attribute. The default value is "Ascending". The literals are from the enumeration SortOption. Defines if and how the series data is to be sorted for display. This should only be applied to Base Series.

Returns:
the value of the 'Sorting' attribute.
See Also:
SortOption, isSetSorting(), unsetSorting(), setSorting(SortOption), DataPackage.getSeriesDefinition_Sorting()

setSorting

void setSorting(SortOption value)
Sets the value of the 'Sorting' attribute.

Parameters:
value - the new value of the 'Sorting' attribute.
See Also:
SortOption, isSetSorting(), unsetSorting(), getSorting()

unsetSorting

void unsetSorting()
Unsets the value of the 'Sorting' attribute.

See Also:
isSetSorting(), getSorting(), setSorting(SortOption)

isSetSorting

boolean isSetSorting()
Returns whether the value of the 'Sorting' attribute is set.

Returns:
whether the value of the 'Sorting' attribute is set.
See Also:
unsetSorting(), getSorting(), setSorting(SortOption)

getSortKey

Query getSortKey()
Returns the value of the 'Sort Key' containment reference.

If the meaning of the 'Sort Key' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Sort Key' containment reference.
See Also:
setSortKey(Query), DataPackage.getSeriesDefinition_SortKey()

setSortKey

void setSortKey(Query value)
Sets the value of the 'Sort Key' containment reference.

Parameters:
value - the new value of the 'Sort Key' containment reference.
See Also:
getSortKey()

getDesignTimeSeries

Series getDesignTimeSeries()
Returns:
The design-time series associated with the series definition

getRunTimeSeries

java.util.List<Series> getRunTimeSeries()
Returns:
The runtime-time series' associated with the series definition


Copyright © 2005-2008 Actuate Corp. All rights reserved.