package com.c2kernel.entity; /** * Objects that are to be stored by Cristal Entities must implement this interface and be (un)marshallable by Castor * i.e. have a map file properly registered in the kernel. Domain implementors should not create new C2KLocalObjects *

Each object will be stored as the path /clustertype/name in most cases. Exceptions are: *

* * @see com.c2kernel.persistency.ClusterStorage * @see com.c2kernel.persistency.ClusterStorageManager * * @author Andrew Branson * * $Revision: 1.5 $ * $Date: 2004/01/22 11:10:41 $ * * Copyright (C) 2003 CERN - European Organization for Nuclear Research * All rights reserved. */ public interface C2KLocalObject { public void setName(String name); public String getName(); public String getClusterType(); }