mondrian.rolap
Class RolapMember.PropertyValueMapFactoryFactory

java.lang.Object
  extended by mondrian.util.ObjectFactory<T>
      extended by mondrian.util.ObjectFactory.Singleton<RolapMember.PropertyValueMapFactory>
          extended by mondrian.rolap.RolapMember.PropertyValueMapFactoryFactory
Enclosing class:
RolapMember

public static final class RolapMember.PropertyValueMapFactoryFactory
extends ObjectFactory.Singleton<RolapMember.PropertyValueMapFactory>

Creates the PropertyValueMapFactory which is in turn used to create property-value maps for member properties.

The name of the PropertyValueMapFactory is drawn from MondrianProperties.PropertyValueMapFactoryClass in mondrian.properties. If unset, it defaults to RolapMember.DefaultPropertyValueMapFactory.


Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.util.ObjectFactory
ObjectFactory.Context, ObjectFactory.Singleton<T>
 
Field Summary
 
Fields inherited from class mondrian.util.ObjectFactory.Singleton
singleInstance, testSingleInstance
 
Method Summary
protected  RolapMember.PropertyValueMapFactory getDefault(java.lang.Class[] parameterTypes, java.lang.Object[] parameterValues)
          For most uses (other than testing) this is the method that derived classes implement that return the desired object.
static RolapMember.PropertyValueMapFactory getPropertyValueMapFactory()
          Access the PropertyValueMapFactory instance.
protected  org.eigenbase.util.property.StringProperty getStringProperty()
          Return the StringProperty associated with this factory.
 
Methods inherited from class mondrian.util.ObjectFactory.Singleton
getObject, getTestObject
 
Methods inherited from class mondrian.util.ObjectFactory
defaultCreationException, getClassName, getClassName, getObject, getObject, getObject, getObject, removeContext, restoreContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPropertyValueMapFactory

public static RolapMember.PropertyValueMapFactory getPropertyValueMapFactory()
Access the PropertyValueMapFactory instance.

Returns:
the Map.

getStringProperty

protected org.eigenbase.util.property.StringProperty getStringProperty()
Description copied from class: ObjectFactory
Return the StringProperty associated with this factory.

Specified by:
getStringProperty in class ObjectFactory<RolapMember.PropertyValueMapFactory>
Returns:
the StringProperty

getDefault

protected RolapMember.PropertyValueMapFactory getDefault(java.lang.Class[] parameterTypes,
                                                         java.lang.Object[] parameterValues)
                                                  throws CreationException
Description copied from class: ObjectFactory
For most uses (other than testing) this is the method that derived classes implement that return the desired object.

Specified by:
getDefault in class ObjectFactory<RolapMember.PropertyValueMapFactory>
Parameters:
parameterTypes - the class parameters that define the signature of the constructor to use
parameterValues - the values to use to construct the current instance of the object
Returns:
the newly created object
Throws:
CreationException - if unable to create the object

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads