|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.olap.set.AbstractSetSelection
com.citra.pivot.olap.set.DescendantsSetSelection
public final class DescendantsSetSelection
DescendantsSetSelection is a selection that returns descendants of a given member. If a set is supplied, the descendants function is applied to each member in the set separately and the sets are then unioned.
Field Summary | |
---|---|
static int |
AFTER
indicates that only members from a level lower than a given one will be selected |
static int |
BEFORE
indicates that only members from a level higher than a given one will be selected |
static int |
BEFORE_AND_AFTER
indicates that only members from a level lower and higher than a given one will be selected |
protected int |
flag
an int showing the descendant selection algorithm |
static int |
LEAVES
indicates that only leaf members will be selected |
protected OlapLevel |
level
the level parameter of the selection |
protected int |
levelDistance
the level distance parameter of the selection |
static int |
SELF
indicates that only members from a given level will be selected |
static int |
SELF_AND_AFTER
indicates that only members from a level lower or equal to a given one will be selected |
static int |
SELF_AND_BEFORE
indicates that only members from a level higher or equal to a given one will be selected |
static int |
SELF_BEFORE_AFTER
indicates that only members from a level lower, higher and equal to a given one will be selected |
protected SetSelection |
set
the set whose descendants are selected |
Constructor Summary | |
---|---|
protected |
DescendantsSetSelection()
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(MemberSelection member)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(MemberSelection member,
int levelDistance)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(MemberSelection member,
int levelDistance,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(MemberSelection member,
OlapLevel level)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(MemberSelection member,
OlapLevel level,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapMember member)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapMember member,
int levelDistance)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapMember member,
int levelDistance,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapMember member,
OlapLevel level)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapMember member,
OlapLevel level,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapSet set)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapSet set,
int levelDistance)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapSet set,
int levelDistance,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapSet set,
OlapLevel level)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(OlapSet set,
OlapLevel level,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(SetSelection set)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(SetSelection set,
int levelDistance)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(SetSelection set,
int levelDistance,
int flag)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(SetSelection set,
OlapLevel level)
Constructs a DescendantsSetSelection. |
|
DescendantsSetSelection(SetSelection set,
OlapLevel level,
int flag)
Constructs a DescendantsSetSelection. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
int |
getFlag()
Returns the algorithm to use when selecting the descendants. |
OlapLevel |
getLevel()
Returns the defined level required by the descendants selection. |
int |
getLevelDistance()
Returns the defined difference in levels required by the descendants selection. |
SetSelection |
getSet()
Determines the set whose descendants are selected. |
Methods inherited from class com.citra.pivot.olap.set.AbstractSetSelection |
---|
resolveSelection, resolveSet |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SetSelection set
protected OlapLevel level
protected int levelDistance
protected int flag
public static final int SELF
public static final int AFTER
public static final int BEFORE
public static final int BEFORE_AND_AFTER
public static final int SELF_AND_AFTER
public static final int SELF_AND_BEFORE
public static final int SELF_BEFORE_AFTER
public static final int LEAVES
Constructor Detail |
---|
protected DescendantsSetSelection()
public DescendantsSetSelection(OlapSet set)
public DescendantsSetSelection(OlapSet set, int levelDistance)
public DescendantsSetSelection(OlapSet set, int levelDistance, int flag)
public DescendantsSetSelection(OlapSet set, OlapLevel level)
public DescendantsSetSelection(OlapSet set, OlapLevel level, int flag)
public DescendantsSetSelection(MemberSelection member)
public DescendantsSetSelection(MemberSelection member, int levelDistance)
public DescendantsSetSelection(MemberSelection member, int levelDistance, int flag)
public DescendantsSetSelection(MemberSelection member, OlapLevel level)
public DescendantsSetSelection(MemberSelection member, OlapLevel level, int flag)
public DescendantsSetSelection(OlapMember member)
public DescendantsSetSelection(OlapMember member, int levelDistance)
public DescendantsSetSelection(OlapMember member, int levelDistance, int flag)
public DescendantsSetSelection(OlapMember member, OlapLevel level)
public DescendantsSetSelection(OlapMember member, OlapLevel level, int flag)
public DescendantsSetSelection(SetSelection set)
public DescendantsSetSelection(SetSelection set, int levelDistance)
public DescendantsSetSelection(SetSelection set, int levelDistance, int flag)
public DescendantsSetSelection(SetSelection set, OlapLevel level)
public DescendantsSetSelection(SetSelection set, OlapLevel level, int flag)
Method Detail |
---|
public boolean equals(Object o)
The equals
method implements an equivalence relation
on non-null object references:
x
, x.equals(x)
should return
true
.
x
and y
, x.equals(y)
should return true
if and only if
y.equals(x)
returns true
.
x
, y
, and z
, if
x.equals(y)
returns true
and
y.equals(z)
returns true
, then
x.equals(z)
should return true
.
x
and y
, multiple invocations of
x.equals(y) consistently return true
or consistently return false
, provided no
information used in equals
comparisons on the
objects is modified.
x
,
x.equals(null)
should return false
.
The equals method for class Object
implements
the most discriminating possible equivalence relation on objects;
that is, for any non-null reference values x
and
y
, this method returns true
if and only
if x
and y
refer to the same object
(x == y
has the value true
).
Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes.
equals
in class Object
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
Hashtable
public int getFlag()
public OlapLevel getLevel()
public int getLevelDistance()
public SetSelection getSet()
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |