public class MdmTimeMember extends MdmSource implements MdmMember
MdmTimeDimension
. You can create a custom member of the dimension with methods of an MdmCustomObjectFactory
or with the convenience methods of an MdmTimeDimension
.Modifier and Type | Method and Description |
---|---|
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. |
getDataType, getSource
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName, getOwner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataType, getDescription, getShortDescription, getSource
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 MdmObject
visitor
- 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 MdmMember
MdmTimeMember
.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 MdmMember
MdmPrimaryDimension
of which the MdmTimeMember
is a member.public java.lang.String getValue()
MdmTimeMember
.public java.lang.String getLocalValue()
MdmTimeMember
.getLocalValue
in interface MdmMember
String
that contains the local value of the MdmTimeMember
.public MdmLevel getLevel()
MdmLevel
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 MdmMember
MdmTimeMember
is a member.public java.lang.String getParentValue()
MdmTimeMember
.getParentValue
in interface MdmMember
String
that contains the unique value of the parent of the MdmTimeMember
.public java.lang.String getParentLocalValue()
MdmTimeMember
.getParentLocalValue
in interface MdmMember
String
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 MdmMember
MdmLevel
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.