1 package net.sf.josceleton.core.api.entity;
2
3 /**
4 * This value object represents a registered user by osceleton.
5 *
6 * The reason an user got two IDs is that osceleton reuses already used numbers for the ID assignment.
7 * Therefore Josceleton adds its own real unique ID.
8 *
9 * @since 0.1
10 */
11 public interface User {
12
13 /**
14 * @return the user's unique ID within a single connection.
15 * @since 0.1
16 */
17 int getUniqueId();
18
19 /**
20 * @return the user's (not necessarily) unique ID provided by OSCeleton.
21 * @since 0.1
22 */
23 int getOsceletonId();
24
25 }