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 *     Nuxeo - initial API and implementation
011 *
012 * $Id: JOOoConvertPluginImpl.java 18651 2007-05-13 20:28:53Z sfermigier $
013 */
014
015package org.nuxeo.ecm.core.api.impl;
016
017import java.util.Calendar;
018
019import org.nuxeo.ecm.core.api.VersionModel;
020
021/**
022 * @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
023 */
024public class VersionModelImpl implements VersionModel {
025
026    private static final long serialVersionUID = -3477379611354288798L;
027
028    protected String id;
029
030    protected Calendar created;
031
032    protected String label;
033
034    protected String description;
035
036    @Override
037    public String getId() {
038        return id;
039    }
040
041    @Override
042    public void setId(String id) {
043        this.id = id;
044    }
045
046    @Override
047    public Calendar getCreated() {
048        return created;
049    }
050
051    @Override
052    public void setCreated(Calendar created) {
053        this.created = created;
054    }
055
056    @Override
057    public String getDescription() {
058        return description;
059    }
060
061    @Override
062    public void setDescription(String description) {
063        this.description = description;
064    }
065
066    @Override
067    public String getLabel() {
068        return label;
069    }
070
071    @Override
072    public void setLabel(String label) {
073        this.label = label;
074    }
075
076}