com.sas.iquery.metadata.business
Interface Governing
All Superinterfaces: Base , BusinessModelObject , BusinessModelResource , BusinessModelResourceReferencer , BusinessRule , java.lang.Cloneable , java.util.EventListener , com.sas.iquery.metadata.business.ExtendedAttributes, ModelItem , ModelItemWithIdentity , NamedObjectInterface , PropertyChangeListenee , java.beans.PropertyChangeListener , UsabilityInterface
public interface Governing extends BusinessRule
Specifies a simple business rule that governs
or limits the output of a business query when the query is run.
Currently, this class supports governing by setting a value
to limit the number of output records that are returned from the
query.
See Also: BusinessRule
Method Summary
int
getInputObservations ()
Returns the suggested maximum number of records to be used as input for
a business query.
int
getOutputObservations ()
Returns the suggested maximum number of records to return from
a business query.
void
setInputObservations (int maxObservations)
Sets the suggested maximum number of records to be used as input for a business query.
void
setOutputObservations (int maxObservations)
Sets the suggested maximum number of records to return from a business query.
EVENT_OUTPUT_OBS_CHANGED
static final java.lang.String EVENT_OUTPUT_OBS_CHANGED
Sent when OutputObservations property set.
See Also: Constant Field Values
EVENT_INPUT_OBS_CHANGED
static final java.lang.String EVENT_INPUT_OBS_CHANGED
Sent when InputObservations property set.
See Also: Constant Field Values
getOutputObservations
int getOutputObservations ()
Returns the suggested maximum number of records to return from
a business query. If the value is -1 then no limit has been set.
Note: this method is valid only for relational data sources.
Returns: Suggested max output records.
setOutputObservations
void setOutputObservations (int maxObservations)
throws MetadataException
Sets the suggested maximum number of records to return from a business query.
If the value is -1 then no limit has been set. Note: this method is valid
only for relational data sources.
Parameters: maxObservations
- Suggested max output records.
Throws:
MetadataException
getInputObservations
int getInputObservations ()
Returns the suggested maximum number of records to be used as input for
a business query. If the value is -1 then no limit has been set.
Returns: Suggested max input records.
setInputObservations
void setInputObservations (int maxObservations)
throws MetadataException
Sets the suggested maximum number of records to be used as input for a business query.
If the value is -1 then no limit has been set. Note: this method is valid
only for relational data sources..
Parameters: maxObservations
- Suggested max input records.
Throws:
MetadataException
Copyright © 2009 SAS Institute Inc. All Rights Reserved.