001/* 002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Jean-Marc Orliaguet, Chalmers 011 * 012 * $Id$ 013 */ 014 015package org.nuxeo.theme; 016 017import org.nuxeo.common.xmap.annotation.XNode; 018import org.nuxeo.common.xmap.annotation.XObject; 019 020@XObject 021public final class ViewDef { 022 023 @XNode("theme") 024 private String theme; 025 026 @XNode("engine") 027 private String engine; 028 029 @XNode("mode") 030 private String mode; 031 032 @XNode("collection") 033 private String collection; 034 035 @XNode("perspective") 036 private String perspective; 037 038 public String getEngine() { 039 return engine; 040 } 041 042 public void setEngine(String engine) { 043 this.engine = engine; 044 } 045 046 public String getPerspective() { 047 return perspective; 048 } 049 050 public void setPerspective(String perspective) { 051 this.perspective = perspective; 052 } 053 054 public String getTheme() { 055 return theme; 056 } 057 058 public void setTheme(String theme) { 059 this.theme = theme; 060 } 061 062 public String getMode() { 063 return mode; 064 } 065 066 public void setMode(String mode) { 067 this.mode = mode; 068 } 069 070 public String getCollection() { 071 return collection; 072 } 073 074 public void setCollection(String collection) { 075 this.collection = collection; 076 } 077}