Moved Node state constants to separate interface so they can be
used more easily by different classes
This commit is contained in:
parent
a283adba4a
commit
44f7947798
1 changed files with 27 additions and 0 deletions
27
src/helma/objectmodel/INodeState.java
Normal file
27
src/helma/objectmodel/INodeState.java
Normal file
|
@ -0,0 +1,27 @@
|
|||
// INodeState.java
|
||||
// Copyright (c) Hannes Wallnöfer 2001
|
||||
|
||||
package helma.objectmodel;
|
||||
|
||||
import java.util.*;
|
||||
import java.io.*;
|
||||
|
||||
/**
|
||||
* Interface that defines states of nodes
|
||||
*/
|
||||
|
||||
public interface INodeState {
|
||||
|
||||
public final static int TRANSIENT = -3;
|
||||
public final static int VIRTUAL = -2;
|
||||
public final static int INVALID = -1;
|
||||
public final static int CLEAN = 0;
|
||||
public final static int NEW = 1;
|
||||
public final static int MODIFIED = 2;
|
||||
public final static int DELETED = 3;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue