summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/entity/C2KLocalObject.java
blob: 8fb1e80bfe9f795d2a32b8bd8c4844b107d80551 (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
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
 * <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 {

	public void setName(String name);
	public String getName();

	public String getClusterType();
}