|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.QDRMember
public class QDRMember
A member in a QDR
.
A QDRMember
specifies the members of a dimension to consider.
There are four different types of QDRMember
objects:
QDR
uses a QDRMember
that has
type VARIES
.
Also, varied members are used in ranking reports.
FIXED
,
LIST
,
CURRENT
,
VARIES
,
QDR
,
Serialized FormField Summary | |
---|---|
static int |
AGG
Member type: an aggregate member |
static int |
CURRENT
Member type: The current Time period. |
static int |
FIXED
Member type: The dimension member is a single, fixed member, such as "PARIS". |
static int |
LIST
Member type: A list of dimension members. |
protected java.lang.Object |
m_data
|
protected int |
m_intType
|
static int |
TOTAL
Member type: a total member. |
static int |
VARIES
Member type: The dimension member varies. |
protected static java.lang.String |
XML_AGG
|
protected static java.lang.String |
XML_CURRENT
|
static java.lang.String |
XML_LIST_NAME
|
static java.lang.String |
XML_NAME
|
static java.lang.String |
XML_NAME_NEW
|
protected static java.lang.String |
XML_TOTAL
|
protected static java.lang.String |
XML_VARIES
|
Constructor Summary | |
---|---|
QDRMember()
Default constructor. |
|
QDRMember(int type)
Constructor that specifies a member type. |
|
QDRMember(int type,
java.lang.Object data)
Constructor that specifies the type and the member or members that this QDRMember represents. |
|
QDRMember(java.lang.String dimMember)
Constructor that specifies the name of dimension member. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a copy of this QDRMember object. |
boolean |
contains(QDRMember qdrMember)
Indicates whether this QDRMember contains the specified
QDRMember . |
protected boolean |
contains(java.util.Vector vector1,
java.util.Vector vector2)
|
protected java.lang.String |
convertTypeIntToString(int type)
|
protected int |
convertTypeStringToInt(java.lang.String strType)
|
boolean |
equals(java.lang.Object obj)
Specifies whether this QDRMember is equivalent to the
specified Object . |
boolean |
equals(QDRMember qdrMember)
Specifies whether this QDRMember is equivalent to the
specified QDRMember . |
java.util.Vector |
getAllDependentIDs(java.lang.String measDim,
NameConverter nc)
|
java.lang.Object |
getData()
Retrieves the dimension member or members that this QDRMember represents. |
java.lang.String |
getStateString(MemberContext memberContext)
|
java.lang.String |
getTagName()
|
int |
getType()
Retrieves the type of this QDRMember object. |
java.lang.Object |
getXML(oracle.dss.util.persistence.XMLContext context)
|
int |
hashCode()
|
void |
setData(java.lang.Object newData)
Specifies the dimension member or members that this QDRMember object represents, when the member type of this
QDRMember object is
FIXED or LIST . |
void |
setType(int type)
Specifies the type of this QDRMember object. |
void |
setXML(oracle.dss.util.persistence.XMLContext context,
java.lang.Object node)
|
java.lang.String |
toString()
Generates the string representation of this QDRMember . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FIXED
public static final int VARIES
June | July | ||
Tokyo | |||
Internet phones | 2314 | 2978 | |
PDAs | 1834 | 2411 | |
Pagers | 817 | 699 | |
Chicago | |||
Pagers | 5004 | 3917 | |
Cell phones | 3956 | 4057 | |
PDAs | 2887 | 3422 |
The Product dimension is set to the top three products based on Sales,
in June, by Direct channel, in the current city.
Here, the QDRMember
for the Geography varies, so that
a different selection of products can appear for each Geography member
in the crosstab.
public static final int CURRENT
public static final int LIST
public static final int TOTAL
public static final int AGG
protected static final java.lang.String XML_VARIES
protected static final java.lang.String XML_CURRENT
protected static final java.lang.String XML_TOTAL
protected static final java.lang.String XML_AGG
protected int m_intType
protected java.lang.Object m_data
public static final java.lang.String XML_NAME
public static final java.lang.String XML_NAME_NEW
public static final java.lang.String XML_LIST_NAME
Constructor Detail |
---|
public QDRMember()
QDRMember
.
public QDRMember(int type)
type
- A constant that represents the type of data
that this QDRMember
object represents.FIXED
,
VARIES
,
CURRENT
,
LIST
public QDRMember(java.lang.String dimMember)
QDRMember.FIXED
.
dimMember
- The name of the dimension member that this
QDRMember
represents.FIXED
public QDRMember(int type, java.lang.Object data)
QDRMember
represents.
type
- A constant that represents the type of data
that this QDRMember
object represents.
The valid constants are listed in the See Also section.data
- The dimension member or members that this
QDRMember
represents.
If type
is FIXED
, then
data
should be a String
that
identifies the dimension member.
If type
is LIST
, then
data
should be a Vector
of
strings that identify the dimension members.FIXED
,
VARIES
,
CURRENT
,
LIST
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
QDRMember
object.
clone
in interface VectorClone
clone
in class java.lang.Object
QDRMember
object.
java.lang.CloneNotSupportedException
- If cloning is not supported
for any of the fields.public boolean equals(QDRMember qdrMember)
QDRMember
is equivalent to the
specified QDRMember
.
QDRMember
objects are equivalent if they have the same
member type and if they represent exactly the same dimension members.
qdrMember
- The QDRMember
to which you want to compare
this QDRMember
.
true
if the two QDRMember
objects
have the same type and represent the same dimension members,
false
if the type is different or if the
two QDRMember
objects represent different
dimension members.getType()
,
getData()
protected boolean contains(java.util.Vector vector1, java.util.Vector vector2)
public boolean contains(QDRMember qdrMember)
QDRMember
contains the specified
QDRMember
.
This QDRMember
contains the specified QDRMember
if it represents all of the dimension members that the specified
QDRMember
represents.
A QDRMember
that has the VARIES
type contains
any other QDRMember
.
If two QDRMember
objects are equivalent, then they each
contain the other.
qdrMember
- The QDRMember
with which you want to
compare this QDRMember
.
true
if this QDRMember
represents
all of the dimension members that
qdrMember
represents,
false
if qdrMember
is null
or if qdrMember
represents
any dimension members that this
QDRMember
does not represent.equals(oracle.dss.util.QDRMember)
public boolean equals(java.lang.Object obj)
QDRMember
is equivalent to the
specified Object
.
QDRMember
objects are equivalent if they have the same
member type and if they represent exactly the same dimension members.
equals
in class java.lang.Object
qdrMember
- The QDRMember
to which you want to compare
this QDRMember
.
true
if the two QDRMember
objects
have the same type and represent the same dimension members,
false
if the type is different, if the
two QDRMember
objects represent different
dimension members, or if obj
is not a
QDRMember
.getType()
,
getData()
public java.lang.String toString()
QDRMember
.
If the member type of this QDRMember
object is
FIXED
or LIST
, then this method generates
a String
that identifies the members that this
QDRMember
represents.
toString
in class java.lang.Object
QDRMember
.getType()
public void setType(int type)
QDRMember
object.
type
- A constant that represents the type of data
that this QDRMember
object represents.
Valid constants are listed in the See Also section.FIXED
,
VARIES
,
CURRENT
,
LIST
public int getType()
QDRMember
object.
FIXED
,
VARIES
,
CURRENT
,
LIST
public void setData(java.lang.Object newData)
QDRMember
object represents, when the member type of this
QDRMember
object is
FIXED
or LIST
.
newData
- The object that specifies the dimension member or members
that this QDRMember
should represent.
If the member type is FIXED
, then pass a
String
that identifies the single dimension
member that this QDRMember
should represent.
If the member type is LIST
, then pass a
Vector
of dimension members.FIXED
,
LIST
,
getType()
public java.lang.Object getData()
QDRMember
represents.
QDRMember
represents.public java.util.Vector getAllDependentIDs(java.lang.String measDim, NameConverter nc)
public java.lang.Object getXML(oracle.dss.util.persistence.XMLContext context)
getXML
in interface oracle.dss.util.persistence.XMLizable
public void setXML(oracle.dss.util.persistence.XMLContext context, java.lang.Object node)
setXML
in interface oracle.dss.util.persistence.XMLizable
node
- The root ObjectNode of the persistence object tree.public java.lang.String getTagName()
getTagName
in interface oracle.dss.util.persistence.XMLizable
QDR
.protected java.lang.String convertTypeIntToString(int type)
protected int convertTypeStringToInt(java.lang.String strType)
public java.lang.String getStateString(MemberContext memberContext)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |