001/* 002 * (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Jean-Marc Orliaguet, Chalmers 018 * 019 * $Id$ 020 */ 021 022package org.nuxeo.theme; 023 024import org.nuxeo.common.xmap.annotation.XNode; 025import org.nuxeo.common.xmap.annotation.XObject; 026 027@XObject 028public final class ViewDef { 029 030 @XNode("theme") 031 private String theme; 032 033 @XNode("engine") 034 private String engine; 035 036 @XNode("mode") 037 private String mode; 038 039 @XNode("collection") 040 private String collection; 041 042 @XNode("perspective") 043 private String perspective; 044 045 public String getEngine() { 046 return engine; 047 } 048 049 public void setEngine(String engine) { 050 this.engine = engine; 051 } 052 053 public String getPerspective() { 054 return perspective; 055 } 056 057 public void setPerspective(String perspective) { 058 this.perspective = perspective; 059 } 060 061 public String getTheme() { 062 return theme; 063 } 064 065 public void setTheme(String theme) { 066 this.theme = theme; 067 } 068 069 public String getMode() { 070 return mode; 071 } 072 073 public void setMode(String mode) { 074 this.mode = mode; 075 } 076 077 public String getCollection() { 078 return collection; 079 } 080 081 public void setCollection(String collection) { 082 this.collection = collection; 083 } 084}