package net.sf.jasperreports.engine;

public interface JRDataset extends JRPropertiesHolder, JRCloneable {
  public static final byte WHEN_RESOURCE_MISSING_TYPE_NULL = 1;
  
  public static final byte WHEN_RESOURCE_MISSING_TYPE_EMPTY = 2;
  
  public static final byte WHEN_RESOURCE_MISSING_TYPE_KEY = 3;
  
  public static final byte WHEN_RESOURCE_MISSING_TYPE_ERROR = 4;
  
  String getName();
  
  String getScriptletClass();
  
  JRParameter[] getParameters();
  
  JRQuery getQuery();
  
  JRField[] getFields();
  
  JRSortField[] getSortFields();
  
  JRVariable[] getVariables();
  
  JRGroup[] getGroups();
  
  boolean isMainDataset();
  
  String getResourceBundle();
  
  byte getWhenResourceMissingType();
  
  void setWhenResourceMissingType(byte paramByte);
  
  JRExpression getFilterExpression();
}
