1 package org.kuali.coeus.sys.api.model;
2
3 /**
4 * This interface can be used to identify a object which has a globally unique identifier.
5 * This globally unique identifier is referred as the "objectId" of the object. The means by
6 * which it is generated or general format of this value is not specified, however it is
7 * intended that some sort of GUID algorithm is used to generate this value, such as the one
8 * provided by {@link java.util.UUID}.
9 */
10 public interface GloballyUnique {
11
12 /**
13 * Return the globally unique object id of this object. In general, this value should only
14 * be null if the object has not yet been stored to a persistent data store.
15 *
16 * @return the objectId of this object, or null if it has not been set yet
17 */
18 String getObjectId();
19
20 }