|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dss.util.QDRMember
oracle.dss.util.HierarchicalQDRMember
public class HierarchicalQDRMember
HierarchicalQDRMember
specifies the members of a dimension to consider in a HierarchicalQDR
.
The HierarchicalQDRMember
adds hierarchy and level information along with the actual member value.
QDR
, QDRMember
, HierarchicalQDR
, Serialized FormField Summary | |
---|---|
protected java.lang.Object |
m_hier |
protected java.lang.Object |
m_level |
static java.lang.String |
XML_LIST_NAME_OLAP The XML tag name for a QDRMember that has the LIST type. |
static java.lang.String |
XML_NAME_OLAP The XML tag name for a QDRMember that has any type except LIST . |
Fields inherited from class oracle.dss.util.QDRMember |
---|
AGG, CURRENT, FIXED, LIST, m_data, m_intType, TOTAL, VARIES, XML_AGG, XML_LIST_NAME, XML_NAME, XML_NAME_NEW, XML_TOTAL |
Constructor Summary | |
---|---|
HierarchicalQDRMember() Default constructor. |
|
HierarchicalQDRMember(int type) Constructor that specifies a member type. |
|
HierarchicalQDRMember(int type, java.lang.Object member, java.lang.Object hierarchy, java.lang.Object level) Constructor that specifies the type and the member or members that this HierarchicalQDRMember represents. |
|
HierarchicalQDRMember(java.lang.String dimMember) Constructor that specifies the name of dimension member. |
|
HierarchicalQDRMember(java.lang.String member, java.lang.String hierarchy, java.lang.String level) Constructor that creates a HierarchicalQDRMember of type FIXED and the member or members that this HierarchicalQDRMember represents. |
Method Summary | |
---|---|
java.lang.Object |
clone() Creates a copy of this HierarchicalQDRMember object. |
protected boolean |
comparePieces(java.lang.Object data, java.lang.Object cmpData, Comparison comparator) |
boolean |
contains(HierarchicalQDRMember qdrMember) Indicates whether this HierarchicalQDRMember contains the specified HierarchicalQDRMember . |
boolean |
contains(HierarchicalQDRMember qdrMember, Comparison comparator) Indicates whether this HierarchicalQDRMember contains the specified HierarchicalQDRMember . |
protected boolean |
contains(java.util.Vector v1, java.util.Vector v2, Comparison comparator) |
protected java.lang.String |
convertTypeIntToString(int type) |
protected int |
convertTypeStringToInt(java.lang.String strType) |
boolean |
equals(HierarchicalQDRMember qdrMember) Specifies whether this HierarchicalQDRMember is equivalent to the specified HierarchicalQDRMember . |
boolean |
equals(HierarchicalQDRMember qdrMember, Comparison comparator) Specifies whether this HierarchicalQDRMember is equivalent to the specified HierarchicalQDRMember . |
boolean |
equals(java.lang.Object obj) Specifies whether this HierarchicalQDRMember is equivalent to the specified Object . |
boolean |
equals(java.lang.Object obj, Comparison comparator) Specifies whether this HierarchicalQDRMember is equivalent to the specified Object . |
java.util.Vector |
getAllDependentIDs(java.lang.String measDim, NameConverter nc) |
protected java.lang.String |
getDataString() |
java.lang.Object |
getHierarchy() Retrieves the member's hierarchy or members' hierarchies that this HierarchicalQDRMember represents. |
protected java.lang.String |
getHierarchyTag() |
protected java.lang.String |
getHierString() |
java.lang.Object |
getLevel() Retrieves the member's level or members' levels that this HierarchicalQDRMember represents. |
protected java.lang.String |
getLevelString() |
protected java.lang.String |
getLevelTag() |
protected java.lang.String |
getMemberTag() |
protected java.lang.String |
getMemberTypeTag() |
java.lang.String |
getTagName() Retrieves the name used for persisting this QDR in XML. |
java.lang.Object |
getXML(oracle.dss.util.persistence.XMLContext context) |
int |
hashCode() |
void |
setHierarchy(java.lang.Object newHier) Specifies the dimension member hierarchy or members' hierarchies that this HierarchicalQDRMember object represents, when the member type of this HierarchicalQDRMember object is FIXED or LIST . |
void |
setLevel(java.lang.Object newLevel) Specifies the dimension member level or members' levels that this HierarchicalQDRMember object represents, when the member type of this HierarchicalQDRMember object is FIXED or LIST . |
void |
setXML(oracle.dss.util.persistence.XMLContext context, java.lang.Object node) |
java.lang.String |
toString() Generates the string representation of this HierarchicalQDRMember . |
Methods inherited from class oracle.dss.util.QDRMember |
---|
contains, contains, equals, getData, getStateString, getType, setData, setType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XML_NAME_OLAP
QDRMember
that has any type except LIST
.
public static final java.lang.String XML_LIST_NAME_OLAP
QDRMember
that has the LIST
type.
protected java.lang.Object m_hier
protected java.lang.Object m_level
Constructor Detail |
---|
public HierarchicalQDRMember()
HierarchicalQDRMember
.public HierarchicalQDRMember(int type)
type
- A constant that represents the type of data that this HierarchicalQDRMember
object represents.QDRMember.FIXED
, QDRMember.VARIES
, QDRMember.CURRENT
, QDRMember.LIST
public HierarchicalQDRMember(java.lang.String dimMember)
HierarchicalQDRMember.FIXED
.
dimMember
- The name of the dimension member that this HierarchicalQDRMember
represents.QDRMember.FIXED
public HierarchicalQDRMember(int type, java.lang.Object member, java.lang.Object hierarchy, java.lang.Object level)
HierarchicalQDRMember
represents.
type
- A constant that represents the type of data that this HierarchicalQDRMember
object represents. The valid constants are listed in the See Also section.member
- The dimension member or members that this HierarchicalQDRMember
represents. If type
is FIXED
, then member
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.hierarchy
- The dimension member's hierarchy or members' hierarchies that this HierarchicalQDRMember
represents. If type
is FIXED
, then hierarchy
should be a String
that identifies the dimension member's hierarchy If type
is LIST
, then data
should be a Vector
of strings that identify the dimension members' hierarchies.level
- The dimension member's level or members' levels that this HierarchicalQDRMember
represents. If type
is FIXED
, then level
should be a String
that identifies the dimension member's level If type
is LIST
, then level
should be a Vector
of strings that identify the dimension members' levels.QDRMember.FIXED
, QDRMember.VARIES
, QDRMember.CURRENT
, QDRMember.LIST
public HierarchicalQDRMember(java.lang.String member, java.lang.String hierarchy, java.lang.String level)
HierarchicalQDRMember
represents.
member
- The dimension member or members that this HierarchicalQDRMember
represents.hierarchy
- The dimension member's hierarchy or members' hierarchies that this HierarchicalQDRMember
represents.level
- The dimension member's level or members' levels that this HierarchicalQDRMember
represents.QDRMember.FIXED
Method Detail |
---|
public void setHierarchy(java.lang.Object newHier)
HierarchicalQDRMember
object represents, when the member type of this HierarchicalQDRMember
object is FIXED
or LIST
.newHier
- The object that specifies the member's hierarchy or members' hierarchies that this HierarchicalQDRMember
should represent. If the member type is FIXED
, then pass a String
that identifies the single hierarchy that this HierarchicalQDRMember
should represent. If the member type is LIST
, then pass a Vector
of hierarchies.QDRMember.FIXED
, QDRMember.LIST
, QDRMember.getType()
public java.lang.Object getHierarchy()
HierarchicalQDRMember
represents.HierarchicalQDRMember
represents.public void setLevel(java.lang.Object newLevel)
HierarchicalQDRMember
object represents, when the member type of this HierarchicalQDRMember
object is FIXED
or LIST
.newHier
- The object that specifies the member's level or members' levels that this HierarchicalQDRMember
should represent. If the member type is FIXED
, then pass a String
that identifies the single level that this HierarchicalQDRMember
should represent. If the member type is LIST
, then pass a Vector
of levels.QDRMember.FIXED
, QDRMember.LIST
, QDRMember.getType()
public java.lang.Object getLevel()
HierarchicalQDRMember
represents.HierarchicalQDRMember
represents.public int hashCode()
hashCode
in class QDRMember
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
HierarchicalQDRMember
object.clone
in interface VectorClone
clone
in class QDRMember
HierarchicalQDRMember
object.java.lang.CloneNotSupportedException
- If cloning is not supported for any of the fields.public java.lang.String getTagName()
QDR
in XML. If this member is a list, then this method returns a special list name, rather than a plain name.getTagName
in interface oracle.dss.util.persistence.XMLizable
getTagName
in class QDRMember
QDR
.protected java.lang.String getMemberTag()
protected java.lang.String getLevelTag()
protected java.lang.String getHierarchyTag()
protected java.lang.String getMemberTypeTag()
public java.lang.Object getXML(oracle.dss.util.persistence.XMLContext context)
getXML
in interface oracle.dss.util.persistence.XMLizable
getXML
in class QDRMember
public void setXML(oracle.dss.util.persistence.XMLContext context, java.lang.Object node)
setXML
in interface oracle.dss.util.persistence.XMLizable
setXML
in class QDRMember
node
- The root ObjectNode of the persistence object tree.protected java.lang.String convertTypeIntToString(int type)
convertTypeIntToString
in class QDRMember
protected int convertTypeStringToInt(java.lang.String strType)
convertTypeStringToInt
in class QDRMember
public java.util.Vector getAllDependentIDs(java.lang.String measDim, NameConverter nc)
getAllDependentIDs
in class QDRMember
public java.lang.String toString()
HierarchicalQDRMember
. If the member type of this HierarchicalQDRMember
object is FIXED
or LIST
, then this method generates a String
that identifies the members that this HierarchicalQDRMember
represents.toString
in class QDRMember
HierarchicalQDRMember
.QDRMember.getType()
protected java.lang.String getHierString()
protected java.lang.String getLevelString()
protected java.lang.String getDataString()
protected boolean comparePieces(java.lang.Object data, java.lang.Object cmpData, Comparison comparator)
protected boolean contains(java.util.Vector v1, java.util.Vector v2, Comparison comparator)
public boolean contains(HierarchicalQDRMember qdrMember, Comparison comparator)
HierarchicalQDRMember
contains the specified HierarchicalQDRMember
. This HierarchicalQDRMember
contains the specified HierarchicalQDRMember
if it represents all of the dimension members that the specified HierarchicalQDRMember
represents.
A HierarchicalQDRMember
that has the VARIES
type contains any other HierarchicalQDRMember
. If two HierarchicalQDRMember
objects are equivalent, then they each contain the other.
qdrMember
- The HierarchicalQDRMember
with which you want to compare this HierarchicalQDRMember
.true
if this HierarchicalQDRMember
represents all of the dimension members that qdrMember
represents, false
if qdrMember
is null
or if qdrMember
represents any dimension members that this HierarchicalQDRMember
does not represent.equals(oracle.dss.util.HierarchicalQDRMember, oracle.dss.util.Comparison)
public boolean contains(HierarchicalQDRMember qdrMember)
HierarchicalQDRMember
contains the specified HierarchicalQDRMember
. This HierarchicalQDRMember
contains the specified HierarchicalQDRMember
if it represents all of the dimension members that the specified HierarchicalQDRMember
represents.
A HierarchicalQDRMember
that has the VARIES
type contains any other HierarchicalQDRMember
. If two HierarchicalQDRMember
objects are equivalent, then they each contain the other.
qdrMember
- The HierarchicalQDRMember
with which you want to compare this HierarchicalQDRMember
.true
if this HierarchicalQDRMember
represents all of the dimension members that qdrMember
represents, false
if qdrMember
is null
or if qdrMember
represents any dimension members that this HierarchicalQDRMember
does not represent.equals(oracle.dss.util.HierarchicalQDRMember, oracle.dss.util.Comparison)
public boolean equals(HierarchicalQDRMember qdrMember, Comparison comparator)
HierarchicalQDRMember
is equivalent to the specified HierarchicalQDRMember
. HierarchicalQDRMember
objects are equal if: they have the same member type and if they represent exactly the same dimension members, hierarchy, and level or they have the same member type and the same member value, with different hierarchies but equivalent levelsqdrMember
- The HierarchicalQDRMember
to which you want to compare this HierarchicalQDRMember
.comparator
- An Object implementing the Comparison interface to allow two levels with different values to be compared for equivalence if their hierarchies are not equaltrue
if the two HierarchicalQDRMember
objects have the same type and represent the same item as described above, false
if the type is different or if the two HierarchicalQDRMember
objects represent different dimension members, hierarchies, levels.QDRMember.getType()
, QDRMember.getData()
public boolean equals(HierarchicalQDRMember qdrMember)
HierarchicalQDRMember
is equivalent to the specified HierarchicalQDRMember
. HierarchicalQDRMember
objects are equal if they have the same member type and if they represent exactly the same dimension members, hierarchy, and level.qdrMember
- The HierarchicalQDRMember
to which you want to compare this HierarchicalQDRMember
.true
if the two HierarchicalQDRMember
objects have the same type and represent the same item as described above, false
if the type is different or if the two HierarchicalQDRMember
objects represent different dimension members, hierarchies, levels.QDRMember.getType()
, QDRMember.getData()
public boolean equals(java.lang.Object obj, Comparison comparator)
HierarchicalQDRMember
is equivalent to the specified Object
. HierarchicalQDRMember
objects are equivalent if they have the same member type and if they represent exactly the same dimension members.HierarchicalQDRMember
- The HierarchicalQDRMember
to which you want to compare this HierarchicalQDRMember
.comparator
- An Object implementing the Comparison interface to allow two levels with different values to be compared for equivalence if their hierarchies are not equaltrue
if the two HierarchicalQDRMember
objects have the same type and represent the same dimension members, false
if the type is different, if the two HierarchicalQDRMember
objects represent different dimension members, or if obj
is not a HierarchicalQDRMember
.QDRMember.getType()
, QDRMember.getData()
public boolean equals(java.lang.Object obj)
HierarchicalQDRMember
is equivalent to the specified Object
. HierarchicalQDRMember
objects are equivalent if they have the same member type and if they represent exactly the same dimension members.equals
in class QDRMember
HierarchicalQDRMember
- The HierarchicalQDRMember
to which you want to compare this HierarchicalQDRMember
.true
if the two HierarchicalQDRMember
objects have the same type and represent the same dimension members, false
if the type is different, if the two HierarchicalQDRMember
objects represent different dimension members, or if obj
is not a HierarchicalQDRMember
.QDRMember.getType()
, QDRMember.getData()
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |