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.models;
016
017public final class Region extends AbstractModel {
018
019    public final String name;
020
021    public final String defaultBody;
022
023    public final String defaultSrc;
024
025    public Region(String name, String defaultBody, String defaultSrc) {
026        this.name = name;
027        this.defaultBody = defaultBody;
028        this.defaultSrc = defaultSrc;
029    }
030
031    public Region() {
032        this(null, null, null);
033    }
034
035    public Region(String name, String defaultBody) {
036        this(name, defaultBody, null);
037    }
038
039}