org.eclipse.birt.report.model.api.elements.structures
Class DimensionJoinCondition

java.lang.Object
  extended by org.eclipse.birt.report.model.core.Structure
      extended by org.eclipse.birt.report.model.core.PropertyStructure
          extended by org.eclipse.birt.report.model.api.elements.structures.DimensionJoinCondition
All Implemented Interfaces:
java.lang.Cloneable, IStructure, org.eclipse.birt.report.model.core.IPropertySet

public class DimensionJoinCondition
extends org.eclipse.birt.report.model.core.PropertyStructure

Represents a dimension join condition in the DimensionCondition. It defines two keys for the cube and hierarchy join, one is from cube and another is from hierarchy.


Field Summary
static java.lang.String CUBE_KEY_MEMBER
          Property name of the cube key of this join.
static java.lang.String DIMENSION_JOIN_CONDITION_STRUCT
          Name of this structure.
static java.lang.String HIERARCHY_KEY_MEMBER
          Property name of the hierarchy key of this join.
static java.lang.String LEVEL_MEMBER
          Name of the member that specifies the level name of this condition relates.
 
Fields inherited from class org.eclipse.birt.report.model.core.PropertyStructure
propValues
 
Constructor Summary
DimensionJoinCondition()
           
 
Method Summary
 java.lang.String getCubeKey()
          Gets the cube key of this join condition.
 java.lang.String getHierarchyKey()
          Gets the hierarchy key of this join condition.
 java.lang.String getStructName()
          Returns the name of the structure definition.
protected  StructureHandle handle(SimpleValueHandle valueHandle, int index)
           
 void setCubeKey(java.lang.String cubeKey)
          Sets the cube key.
 void setHierarchyKey(java.lang.String hierarchyKey)
          Sets the hierarchy key.
 
Methods inherited from class org.eclipse.birt.report.model.core.PropertyStructure
clone, getIntrinsicProperty, getLocalProperty, getLocalProperty, setIntrinsicProperty, setProperty
 
Methods inherited from class org.eclipse.birt.report.model.core.Structure
copy, equals, getContext, getDefn, getElement, getHandle, getHandle, getListMemberRef, getObjectDefn, getProperty, getProperty, getReferencableProperty, isDesignTime, isReferencable, setContext, setProperty, updateReference, validate
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIMENSION_JOIN_CONDITION_STRUCT

public static final java.lang.String DIMENSION_JOIN_CONDITION_STRUCT
Name of this structure. Matches the definition in the meta-data dictionary.

See Also:
Constant Field Values

CUBE_KEY_MEMBER

public static final java.lang.String CUBE_KEY_MEMBER
Property name of the cube key of this join.

See Also:
Constant Field Values

HIERARCHY_KEY_MEMBER

public static final java.lang.String HIERARCHY_KEY_MEMBER
Property name of the hierarchy key of this join.

See Also:
Constant Field Values

LEVEL_MEMBER

public static final java.lang.String LEVEL_MEMBER
Name of the member that specifies the level name of this condition relates.

See Also:
Constant Field Values
Constructor Detail

DimensionJoinCondition

public DimensionJoinCondition()
Method Detail

handle

protected StructureHandle handle(SimpleValueHandle valueHandle,
                                 int index)
Specified by:
handle in class org.eclipse.birt.report.model.core.Structure

getStructName

public java.lang.String getStructName()
Description copied from interface: IStructure
Returns the name of the structure definition. The name is the one used to define the structure in the meta-data dictionary.

Returns:
the internal name of the structure a defined in the meta-data dictionary.

setCubeKey

public void setCubeKey(java.lang.String cubeKey)
Sets the cube key.

Parameters:
cubeKey - the key to set

getCubeKey

public java.lang.String getCubeKey()
Gets the cube key of this join condition.

Returns:
the cube key in this join condition

setHierarchyKey

public void setHierarchyKey(java.lang.String hierarchyKey)
Sets the hierarchy key.

Parameters:
hierarchyKey - the key to set

getHierarchyKey

public java.lang.String getHierarchyKey()
Gets the hierarchy key of this join condition.

Returns:
the hierarchy key in this join condition


Copyright © 2008 Actuate Corp. All rights reserved.