public class DataSetRequiredValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
ListingElement.DATA_SET_PROP
should be set on the element itself or its container which is also a listing
element; the ICubeModel.DATA_SET_PROP
should be set in the cube
element; the IReportItemModel.DATA_SET_PROP
should be set in the
extended items.
ListingElement
, Cube
and ExtendedItem
.Constructor and Description |
---|
DataSetRequiredValidator() |
Modifier and Type | Method and Description |
---|---|
static DataSetRequiredValidator |
getInstance()
Returns the singleton validator instance.
|
java.util.List<SemanticException> |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Validates whether the data set of the given listing element is provided.
|
public static DataSetRequiredValidator getInstance()
public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
validate
in class org.eclipse.birt.report.model.validators.AbstractElementValidator
module
- the moduleelement
- the listing element to validateSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.