001/*
002 * Copyright (c) 2006-2011 Nuxeo SA (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 *     Laurent Doguin
011 */
012package org.nuxeo.ecm.core.versioning;
013
014import java.io.Serializable;
015
016import org.nuxeo.common.xmap.annotation.XNode;
017import org.nuxeo.common.xmap.annotation.XObject;
018
019@XObject("option")
020public class OptionDescriptor implements Serializable {
021
022    private static final long serialVersionUID = 1L;
023
024    @XNode("@default")
025    private boolean defaultOption = false;
026
027    public boolean isDefault() {
028        return defaultOption;
029    }
030
031}