|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.dss.selection.Selection
Specifies a set of members for a particular dimension, such as Product. It consists of a series of ordered Step objects (which specify the set of members) and a SortSpec object (which specifies the sort specification).
| Field Summary | |
static java.lang.String |
DIMENSION_STATEState Management support |
| Constructor Summary | |
Selection()Constructor that does not specify any arguments. | |
Selection(java.lang.String dimension)Constructor that specifies a dimension. | |
Selection(java.util.Vector dimensions)Constructor that specifies tuple dimensions. | |
| Method Summary | |
void |
addDrillLevelStep(DrillLevelStep step) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)Adds the specified PropertyChangeListener object to this Selection object to listen for property changes. |
int |
addStep(Step s)Adds the specifed Step object to the end of the series of Step objects that are contained in this Selection object. |
int |
addStep(Step s, int pos)Adds the specifed Step object to the specified position in the series of Step objects that are contained in this Selection object. |
boolean |
clearDrillStep()Indicates whether the DrillStep object is cleared when this selection is put into a query. |
java.lang.Object |
clone()Creates a copy of this Selection object. |
boolean |
equals(java.lang.Object obj)Indicates whether one Selection object is equivalent to another Selection object. |
java.lang.String |
getDescription()Retrieves the description of this Selection object. |
java.lang.Object |
getDim()Retrieves either the single string dimension name or the list of tuple dimension names, if present. |
java.lang.String |
getDimension()Retrieves the dimension of this Selection object. |
java.util.Vector |
getDimensions()Retrieves the list of dimensions for a selection that is based on tuple steps. |
interface |
getDrillStep()Retrieves the DrillStep object (if any) that is contained in this Selection object. |
java.lang.Object |
getHier()Retrieves either the single string hierarchy name or the list of tuple hierarchy names, if present. |
java.util.Vector |
getHierarchies()Retrieves the list of hierarchies for a selection that is based on tuple steps. |
java.lang.String |
getHierarchy()Retrieves the hierarchy of this Selection object. |
java.lang.String |
getName()Retrieves the name of this Selection object. |
PersistableAttributes |
getPersistableAttributes(PersistableAttributes oldAttrs)Retrieves the attributes of the component, for searching. |
AggregateInfo[] |
getPersistableComponents()Retrieves a list of the Persistable components that this Persistable component aggregates. |
SortSpec |
getSortSpec()Retrieves the SortSpec object (if any) that is contained in this Selection object. |
Step |
getStep(int i)Retrieves the Step object at the specified position in the series of Step objects that are contained in this Selection object. |
int |
getStepCount()Retrieves the number of Step objects that are contained in this Selection object. |
int |
getStepIndex(Step step)Returns the index of the given Step object. |
java.lang.String |
getXMLAsString()Retrieves the XML representation of the component. |
boolean |
hasAsymmetricDrill()Determines whether the Selection contains any asymmetric drills. |
void |
initialize(java.util.Hashtable env)Initializes the component with the persistence environment. |
boolean |
isAsymmetric()Indicates whether this Selection object will produce an asymmetric result when it is evaluated. |
boolean |
isForDimension(java.lang.String dimension)Indicates whether this Selection object contains information for the specified dimension. |
boolean |
isTupleSelection()Indicates whether the selection is a tuple selection. |
void |
moveStep(int start, int end)Moves a Step object to a new position within the series of Step objects that are contained in this Selection object. |
void |
removeAllPropertyChangeListeners()Removes all the PropertyChangeListener objects from this Selection object. |
void |
removeAllSteps()Removes all Step objects from this Selection object. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)Removes the specified PropertyChangeListener object from this Selection object. |
void |
removeQuerySteps()Removes all query steps, except for the sorting and drill steps. |
int |
removeStep(int pos)Removes the Step object from the specified position in the series of Step objects that are contained in this Selection object. |
int |
removeStep(Step s)Removes the specified Step object from this Selection object. |
void |
setClearDrillStep(boolean clear)Specifies that the DrillStep object is cleared when this selection is put into a query. |
void |
setDescription(java.lang.String description)Specifies the description of this Selection object. |
void |
setDimension(java.lang.String dimension)Specifies the dimension of this Selection object. |
void |
setDimensions(java.util.Vector dimensions)Specifies the list of dimensions for a selection that is based on tuple steps. |
void |
setDrillStep( drillStep)Specifies the DrillStep object that is contained in this Selection object. |
void |
setHierarchies(java.util.Vector hierarchies)Specifies the list of hierarchies for a selection that is based on tuple steps. |
void |
setHierarchy(java.lang.String hierarchy)Specifies the hierarchy of this Selection object and automatically fires a PropertyChangeEvent object. |
void |
setHierarchy(java.lang.String hierarchy, boolean update)Specifies the hierarchy of this Selection object. |
void |
setName(java.lang.String name)Specifies the name of this Selection object. |
void |
setPersistableAttributes(PersistableAttributes attrs)Specifies attributes that can be used for searching in the repository. |
void |
setPersistableComponents(AggregateInfo[] persistables)Specifies a list of Persistable components that this Persistable component aggregates. |
void |
setSortSpec(SortSpec sortSpec)Specifies the SortSpec object that is contained in this Selection object. |
boolean |
setXMLAsString(java.lang.String xml)Specifies the XML representation of the component. |
java.lang.String |
toString()Generates the string representation of this Selection object. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
| Field Detail |
public static final java.lang.String DIMENSION_STATE
| Constructor Detail |
public Selection()
public Selection(java.lang.String dimension)
dimension - The name of the dimension.public Selection(java.util.Vector dimensions)
dimensions - The list of tuple dimensions.| Method Detail |
public void setDimension(java.lang.String dimension)
Selection object.dimension - The name of the dimension.public java.lang.String getDimension()
Selection object.public java.lang.Object getDim()
public void setDimensions(java.util.Vector dimensions)
dimensions - The vector list of dimensions.public java.util.Vector getDimensions()
public boolean isTupleSelection()
true if this is a tuple selection; false if it is not.public boolean isForDimension(java.lang.String dimension)
Selection object contains information for the specified dimension.dimension - The name of the dimension (case insensitive).true if this Selection object contains information for the specified dimension; false if it does not.public void setName(java.lang.String name)
Selection object.name - The name of this Selection object.public java.lang.String getName()
Selection object.Selection object.public void setDescription(java.lang.String description)
Selection object.description - The description of this Selection object.public java.lang.String getDescription()
Selection object.Selection object.
public void setHierarchy(java.lang.String hierarchy,
boolean update)
Selection object.hierarchy - The name of the hierarchy.update - true if a PropertyChangeEvent object is to be fired; false if it is not.public void setHierarchy(java.lang.String hierarchy)
Selection object and automatically fires a PropertyChangeEvent object.hierarchy - The name of the hierarchy.public java.lang.String getHierarchy()
Selection object.public java.lang.Object getHier()
public void setHierarchies(java.util.Vector hierarchies)
hierarchies - The vector list of hierarchies.public java.util.Vector getHierarchies()
public Step getStep(int i)
Step object at the specified position in the series of Step objects that are contained in this Selection object.i - The position of the Step object.Step object at the specified position.
public void moveStep(int start,
int end)
Step object to a new position within the series of Step objects that are contained in this Selection object.start - The position of the Step object to move.end - The position to which the Step object is to be moved.public int getStepCount()
Step objects that are contained in this Selection object.Step objects.public int addStep(Step s)
Step object to the end of the series of Step objects that are contained in this Selection object. If the Step object is a MemberStep object, and the Step object at the end of the series is also a MemberStep object, then the two MemberStep objects are merged.s - The Step object to add.Step objects that are contained in this Selection object after the specified Step object has been added.
public int addStep(Step s,
int pos)
Step object to the specified position in the series of Step objects that are contained in this Selection object.s - The Step object to add.pos - The position at which the Step object is to be added.Step objects that are contained in this Selection object after the specified Step object has been added.public int removeStep(int pos)
Step object from the specified position in the series of Step objects that are contained in this Selection object.pos - The position at which theStep object is to be removed.Step objects that are contained in this Selection object after the Step object has been removed.public int removeStep(Step s)
Step object from this Selection object.s - The Step object to remove.Step objects that are contained in this Selection object after the specified Step object has been removed.public void removeAllSteps()
Step objects from this Selection object.public void removeQuerySteps()
public void setSortSpec(SortSpec sortSpec)
SortSpec object that is contained in this Selection object.sortSpec - The SortSpec object.public SortSpec getSortSpec()
SortSpec object (if any) that is contained in this Selection object.SortSpec object.public void setClearDrillStep(boolean clear)
DrillStep object is cleared when this selection is put into a query.clear - true if the DrillStep is cleared; false if the DrillStep is not cleared.public boolean clearDrillStep()
DrillStep object is cleared when this selection is put into a query.true if the DrillStep is cleared; false if the DrillStep is not cleared.public void setDrillStep( drillStep)
DrillStep object that is contained in this Selection object.drillStep - The DrillStep object.public getDrillStep()
DrillStep object (if any) that is contained in this Selection object.DrillStep object.public void addDrillLevelStep(DrillLevelStep step)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener object to this Selection object to listen for property changes.l - The PropertyChangeListener object to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener object from this Selection object.l - The PropertyChangeListener object to remove.public void removeAllPropertyChangeListeners()
PropertyChangeListener objects from this Selection object.public boolean equals(java.lang.Object obj)
Selection object is equivalent to another Selection object.equals in class java.lang.Objectobj - The Selection object with which to compare.true if the objects are completely equal; false if they are not.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Selection object.clone in interface VectorCloneSelection object.java.lang.CloneNotSupportedException - If cloning is not supported for any fields.public boolean isAsymmetric()
Selection object will produce an asymmetric result when it is evaluated.true if this Selection object is asymmetric; false if it is not.public boolean hasAsymmetricDrill()
Selection contains any asymmetric drills.true if there is at least one asymmetric drill step in this Selection; false if there is not.public void initialize(java.util.Hashtable env)
PersistableContext interface in JNDI.initialize in interface Persistableoracle.dss.util.persistence.Persistableenv - Environment properties.public AggregateInfo[] getPersistableComponents()
Persistable components that this Persistable component aggregates.getPersistableComponents in interface PersistableAggregateInfo objects, which contains information to restore the relationships among this component and its aggregate components.public void setPersistableComponents(AggregateInfo[] persistables)
Persistable components that this Persistable component aggregates. This Persistable component should then restore the relationships with the Persistable components that are contained in the list.setPersistableComponents in interface Persistablepersistables - An array of AggregateInfo objects.public java.lang.String getXMLAsString()
StringXMLizablegetXMLAsString in interface StringXMLizableoracle.dss.util.persistence.StringXMLizableBIPersistenceException - If a problem occurs in getting the XML.
public boolean setXMLAsString(java.lang.String xml)
throws BIPersistenceException
StringXMLizablesetXMLAsString in interface StringXMLizableoracle.dss.util.persistence.StringXMLizablename - The XML representation of the component.true the XML was successfully set, false if not.BIPersistenceException - If a problem occurs in setting the XML.public PersistableAttributes getPersistableAttributes(PersistableAttributes oldAttrs)
getPersistableAttributes in interface PersistableoldAttrs - The searchable attributes that the application has defined for this component.public void setPersistableAttributes(PersistableAttributes attrs)
setPersistableAttributes in interface Persistableattrs - PersistableAttributes that specify search attributes for the component.public java.lang.String toString()
Selection object.toString in class java.lang.ObjectSelection object.public int getStepIndex(Step step)
Step object.step - The Step object.Returns:The index of the Step object.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||