mondrian.rolap
Class CacheControlImpl.SimpleMemberSet

java.lang.Object
  extended by mondrian.rolap.CacheControlImpl.SimpleMemberSet
All Implemented Interfaces:
CacheControl.MemberSet, CacheControlImpl.MemberSetPlus
Enclosing class:
CacheControlImpl

static class CacheControlImpl.SimpleMemberSet
extends Object
implements CacheControlImpl.MemberSetPlus

Member set defined by a list of members from one hierarchy.

 

Field Summary
 boolean descendants
           
 RolapHierarchy hierarchy
           
 List<RolapMember> members
           
 
Constructor Summary
CacheControlImpl.SimpleMemberSet(List<RolapMember> members, boolean descendants)
           
 
Method Summary
 void accept(CacheControlImpl.MemberSetVisitor visitor)
          Accepts a visitor.
 CacheControlImpl.MemberSetPlus filter(RolapLevel level)
          Filters this member set, returning a member set containing all members at a given Level.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

members

public final List<RolapMember> members

descendants

public final boolean descendants

hierarchy

public final RolapHierarchy hierarchy
Constructor Detail

CacheControlImpl.SimpleMemberSet

CacheControlImpl.SimpleMemberSet(List<RolapMember> members,
                                 boolean descendants)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

accept

public void accept(CacheControlImpl.MemberSetVisitor visitor)
Description copied from interface: CacheControlImpl.MemberSetPlus
Accepts a visitor.

Specified by:
accept in interface CacheControlImpl.MemberSetPlus
Parameters:
visitor - Visitor

filter

public CacheControlImpl.MemberSetPlus filter(RolapLevel level)
Description copied from interface: CacheControlImpl.MemberSetPlus
Filters this member set, returning a member set containing all members at a given Level. When applicable, returns this member set unchanged.

Specified by:
filter in interface CacheControlImpl.MemberSetPlus
Parameters:
level - Level
Returns:
Member set with members not at the given level removed

SourceForge.net_Logo