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.formats;
016
017import org.nuxeo.theme.properties.PropertySheet;
018import org.nuxeo.theme.relations.Predicate;
019import org.nuxeo.theme.relations.Relate;
020import org.nuxeo.theme.uids.Identifiable;
021
022public interface Format extends Relate, Identifiable, PropertySheet {
023
024    FormatType getFormatType();
025
026    void setFormatType(FormatType formatType);
027
028    Predicate getPredicate();
029
030    void setDescription(String description);
031
032    String getDescription();
033
034    void clonePropertiesOf(Format source);
035
036    boolean isNamed();
037
038    boolean isCustomized();
039
040    boolean isRemote();
041
042    void setRemote(boolean remote);
043
044    void setCustomized(boolean customized);
045
046}