|
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.util.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 Form| Field Summary | |
static int |
CURRENTMember type: The current Time period. |
static int |
FIXEDMember type: The dimension member is a single, fixed member, such as "PARIS". |
static int |
LISTMember type: A list of dimension members. |
static int |
VARIESMember type: The dimension member 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. |
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.lang.Object |
getData()Retrieves the dimension member or members that this QDRMember represents. |
int |
getType()Retrieves the type of this QDRMember object. |
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. |
java.lang.String |
toString()Generates the string representation of this QDRMember. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, 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
| 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, LISTpublic 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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
QDRMember object.clone in interface VectorCloneQDRMember 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()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.ObjectqdrMember - 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.ObjectQDRMember.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, LISTpublic int getType()
QDRMember object.FIXED, VARIES, CURRENT, LISTpublic 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.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||