/// <summary> /// Constructor. /// </summary> /// <param name="pName">the name of the dimension /// </param> /// <param name="pHandle">the handle of the dimension /// </param> /// <param name="pUpperBound">the upper bound of the dimension /// </param> public DimensionDescriptor(System.String pName, IDimensionHandle pHandle, long pUpperBound) { name = pName; handle = pHandle; upperBound = pUpperBound; }
/// <summary> /// Returns the range bounds for the specified dimension. /// </summary> /// <param name="dimension">the handle of the dimension of interest /// </param> /// <returns> the range bounds of the specified dimension, or <code>null</code> if /// no such dimension exists /// </returns> public virtual RangeBounds getRangeBounds(IDimensionHandle dimension) { return((RangeBounds)dimensionRangeBoundsMap[dimension]); }
/// <summary> /// Returns the descriptor for the dimension with the given handle. /// </summary> /// <param name="handle">the handle of the dimension /// </param> /// <returns> the dimension descriptor, or <code>null</code> if no such /// descriptor exists /// </returns> public virtual DimensionDescriptor GetDimensionDescriptor(IDimensionHandle handle) { return dimensionHandleDescriptorMap[handle]; }
/// <summary> /// Sets the range bounds for the specified dimension. /// </summary> /// <param name="dimension">the handle of the dimension /// </param> /// <param name="bounds">the new bounds for the dimension /// </param> public virtual void setRangeBounds(IDimensionHandle dimension, RangeBounds bounds) { dimensionRangeBoundsMap[dimension] = bounds; }