KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > pojo > test > propagation > StateItem


1 package org.jboss.cache.pojo.test.propagation;
2
3 /**
4  *
5  */

6 // We are using JDK1.5 annotation.
7
@org.jboss.cache.pojo.annotation.Replicable
8 public interface StateItem
9 {
10    public static final boolean STATE_CHANGED = true;
11    public static final boolean STATE_NOT_CHANGED = false;
12
13    public long getItemId();
14
15    public long getState();
16
17    public boolean setState(long state);
18 }
19
Popular Tags