blob: 06bf867f291e2efda982294135b462bda6b367b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.c2kernel.entity;
import java.io.Serializable;
/**
* 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
* <p>Each object will be stored as the path /clustertype/name in most cases. Exceptions are:
* <ul>
* <li>Outcomes - /Outcome/SchemaType/SchemaVersion/EventId
* <li>Viewpoints - /ViewPoint/SchemaType/Name
* </ul>
*
* @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 extends Serializable {
public void setName(String name);
public String getName();
public String getClusterType();
}
|