|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmTimeMember
public class MdmTimeMember
An object that represents a custom member of an MdmTimeDimension.
You can create a custom member of the dimension with methods of an
MdmCustomObjectFactory or with the convenience methods of an
MdmTimeDimension.
| Method Summary | |
|---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor,
java.lang.Object context)
Calls the visitMdmTimeMember method of the
MdmObjectVisitor and passes that method the
MdmTimeMember and an Object. |
java.util.Date |
getEndDate()
Gets the end date of the time period that the MdmTimeMember represents. |
MdmLevel |
getLevel()
Gets the MdmLevel of which the MdmTimeMember
is a member. |
int |
getLevelDepth()
Gets the depth in the hierarchy of the level of which the MdmTimeMember is a member. |
java.lang.String |
getLocalValue()
Gets the local value of the MdmTimeMember. |
MdmPrimaryDimension |
getOwnerDimension()
Gets the MdmPrimaryDimension of which the
MdmTimeMember is a member. |
MdmLevel |
getParentLevel()
Gets the MdmLevel of which the parent of the
MdmTimeMember is a member. |
java.lang.String |
getParentLocalValue()
Gets the local value of the parent of the MdmTimeMember. |
java.lang.String |
getParentValue()
Gets the unique value of the parent of the MdmTimeMember. |
int |
getPrecedence()
Gets the precedence of the MdmTimeMember. |
MdmTimeDimension |
getTimeDimension()
Gets the MdmTimeDimension of which the
MdmTimeMember is a member. |
int |
getTimeSpan()
Gets the number of time periods that is the time span of the time period that the MdmTimeMember represents. |
MetadataObject |
getType()
Gets the type of this MdmTimeMember, which
is the type of the Source for the member. |
java.lang.String |
getValue()
Gets the unique value of the MdmTimeMember. |
MdmValueHierarchy |
getValueHierarchy()
Gets the MdmValueHierarchy of which the
MdmTimeMember is a member. |
void |
setEndDate(java.util.Date endDate)
Specifies an end date for the time period that the MdmTimeMember
represents. |
void |
setLevel(MdmLevel level)
Specifies the MdmLevel to which you want to add the
MdmTimeMember as a member. |
void |
setParentLevel(MdmLevel parentLevel)
Specifies an MdmLevel for the parent of the
MdmTimeMember. |
void |
setParentLocalValue(java.lang.String parentLocal)
Specifies a local value for the parent of the MdmTimeMember. |
void |
setPrecedence(int precedence)
Specifies a precedence for the MdmTimeMember, with
the higher integer value indicating a higher precedence. |
void |
setTimeSpan(int timeSpan)
Specifies a time span for the time period that the MdmTimeMember
represents. |
void |
setValueHierarchy(MdmValueHierarchy valueHier)
Specifies the MdmValueHierarchy to which you want to add the
MdmTimeMember as a member. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
|---|
getDataType, getSource |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
|---|
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
|---|
getContainedByObject, getID, getOwner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.olapi.metadata.mdm.MdmMember |
|---|
getDataType, getDescription, getShortDescription, getSource |
| Method Detail |
|---|
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
java.lang.Object context)
visitMdmTimeMember method of the
MdmObjectVisitor and passes that method the
MdmTimeMember and an Object.
acceptVisitor in class MdmObjectvisitor - An MdmObjectVisitor.context - An Object.
Object returned by the
visitMdmTimeMember method.public java.util.Date getEndDate()
MdmTimeMember represents.
Date that represents the end date of the
time period for the MdmTimeMember.public int getTimeSpan()
MdmTimeMember represents.
MdmTimeMember.public int getPrecedence()
MdmTimeMember.
getPrecedence in interface MdmMemberMdmTimeMember.public void setPrecedence(int precedence)
MdmTimeMember, with
the higher integer value indicating a higher precedence.
precedence - An integer that specifies the precedence for the
MdmTimeMember.public void setEndDate(java.util.Date endDate)
MdmTimeMember
represents.
endDate - A Date that specifies the end date that you want the
MdmTimeMember to have.public void setTimeSpan(int timeSpan)
MdmTimeMember
represents.
timeSpan - An int that specifies the number of time periods
that you want the time span of the MdmTimeMember
to be.public MdmPrimaryDimension getOwnerDimension()
MdmPrimaryDimension of which the
MdmTimeMember is a member.
getOwnerDimension in interface MdmMemberMdmPrimaryDimension of which the
MdmTimeMember is a member.public java.lang.String getValue()
MdmTimeMember.
getValue in interface MdmMemberString that contains the unique value of
the MdmTimeMember.public java.lang.String getLocalValue()
MdmTimeMember.
getLocalValue in interface MdmMemberString that contains the local value of
the MdmTimeMember.public MdmLevel getLevel()
MdmLevel of which the MdmTimeMember
is a member.
getLevel in interface MdmMemberMdmLevel of which the MdmTimeMember
is a member.public void setLevel(MdmLevel level)
MdmLevel to which you want to add the
MdmTimeMember as a member.
level - The MdmLevel to which you want to add the
MdmTimeMember as a member.public MdmValueHierarchy getValueHierarchy()
MdmValueHierarchy of which the
MdmTimeMember is a member.
MdmValueHierarchy of which the
MdmTimeMember is a member.public void setValueHierarchy(MdmValueHierarchy valueHier)
MdmValueHierarchy to which you want to add the
MdmTimeMember as a member.
valueHier - The MdmValueHierarchy to which you want to
add the MdmTimeMember as a member.public int getLevelDepth()
MdmTimeMember is a member.
getLevelDepth in interface MdmMemberMdmTimeMember is a member.public java.lang.String getParentValue()
MdmTimeMember.
getParentValue in interface MdmMemberString that contains the unique value of the parent
of the MdmTimeMember.public java.lang.String getParentLocalValue()
MdmTimeMember.
getParentLocalValue in interface MdmMemberString that contains the local value of the parent
of the MdmTimeMember.public void setParentLocalValue(java.lang.String parentLocal)
MdmTimeMember.
parentLocal - A String that contains the local value that
you want the parent of the MdmTimeMember
to have.public MdmLevel getParentLevel()
MdmLevel of which the parent of the
MdmTimeMember is a member.
getParentLevel in interface MdmMemberMdmLevel of which the parent of the
MdmTimeMember is a member.public void setParentLevel(MdmLevel parentLevel)
MdmLevel for the parent of the
MdmTimeMember.
parentLevel - The MdmLevel that you want to specify for
the parent of the MdmTimeMember.public final MdmTimeDimension getTimeDimension()
MdmTimeDimension of which the
MdmTimeMember is a member.
MdmTimeDimension of which the
MdmTimeMember is a member.public MetadataObject getType()
MdmTimeMember, which
is the type of the Source for the member.
getType in class MdmSourceMetadataObject that represents the type
of this custom dimension member.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||