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 *     matic
011 */
012package org.nuxeo.ecm.platform.audit.api;
013
014import java.io.Serializable;
015
016/**
017 * Extended audit info entities, used to persist contributed extended information.
018 *
019 * @author Stephane Lacoin (Nuxeo EP software engineer)
020 */
021public interface ExtendedInfo extends Serializable {
022
023    Long getId();
024
025    void setId(Long id);
026
027    Serializable getSerializableValue();
028
029    <T> T getValue(Class<T> clazz);
030
031}