package org.saiku.olap.dto;

import java.util.List;


public class SaikuLevel extends AbstractSaikuObject {
	
	private String caption;
	private String hierarchyUniqueName;
	private String dimensionUniqueName;
	private List<SaikuMember> members;
	
	
	public SaikuLevel(
			String name, 
			String uniqueName, 
			String caption, 
			String dimensionUniqueName, 
			String hierarchyUniqueName, 
			List<SaikuMember> members) 
	{
		super(uniqueName,name);
		this.caption = caption;
		this.hierarchyUniqueName = hierarchyUniqueName;
		this.dimensionUniqueName = dimensionUniqueName;
		this.members = members;
	}

	public String getCaption() {
		return caption;
	}
	
	public String getHierarchyUniqueName() {
		return hierarchyUniqueName;
	}
	
	public String getDimensionUniqueName() {
		return dimensionUniqueName;
	}
	
	public List<SaikuMember> getMembers() {
		return members;
	}
}

@@ -194,32 +194,34 @@
 sionUniqueName;%0A
+//
 %09private List%3CSa
@@ -213,16 +213,26 @@
 private 
+transient 
 List%3CSai
@@ -580,24 +580,26 @@
 UniqueName;%0A
+//
 %09%09this.membe
@@ -815,32 +815,34 @@
 niqueName;%0A%09%7D%0A%09%0A
+//
 %09public List%3CSai
@@ -862,24 +862,26 @@
 Members() %7B%0A
+//
 %09%09return mem
@@ -886,13 +886,15 @@
 embers;%0A
+//
 %09%7D%0A%7D%0A

remove members list from levels for now