Package mondrian.rolap
Class RolapMemberBase.PropertyValueMapFactoryFactory
java.lang.Object
mondrian.util.ObjectFactory<T>
mondrian.util.ObjectFactory.Singleton<RolapMemberBase.PropertyValueMapFactory>
mondrian.rolap.RolapMemberBase.PropertyValueMapFactoryFactory
- Enclosing class:
- RolapMemberBase
public static final class RolapMemberBase.PropertyValueMapFactoryFactory
extends ObjectFactory.Singleton<RolapMemberBase.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
RolapMemberBase.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
Modifier and TypeMethodDescriptionprotected RolapMemberBase.PropertyValueMapFactory
getDefault
(Class[] parameterTypes, Object[] parameterValues) For most uses (other than testing) this is the method that derived classes implement that return the desired object.Access thePropertyValueMapFactory
instance.protected org.eigenbase.util.property.StringProperty
Return theStringProperty
associated with this factory.Methods inherited from class mondrian.util.ObjectFactory.Singleton
getObject, getTestObject
Methods inherited from class mondrian.util.ObjectFactory
getClassName, getClassName, getObject, getObject, getObject, getObject, removeContext, restoreContext
-
Method Details
-
getPropertyValueMapFactory
Access thePropertyValueMapFactory
instance.- Returns:
- the
Map
.
-
getStringProperty
protected org.eigenbase.util.property.StringProperty getStringProperty()Description copied from class:ObjectFactory
Return theStringProperty
associated with this factory.- Specified by:
getStringProperty
in classObjectFactory<RolapMemberBase.PropertyValueMapFactory>
- Returns:
- the
StringProperty
-
getDefault
protected RolapMemberBase.PropertyValueMapFactory getDefault(Class[] parameterTypes, 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 classObjectFactory<RolapMemberBase.PropertyValueMapFactory>
- Parameters:
parameterTypes
- the class parameters that define the signature of the constructor to useparameterValues
- 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
-