From 44f79477983bdd6f55d4977ffc31aff3033456e0 Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 31 Jul 2001 22:36:41 +0000 Subject: [PATCH] Moved Node state constants to separate interface so they can be used more easily by different classes --- src/helma/objectmodel/INodeState.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/helma/objectmodel/INodeState.java diff --git a/src/helma/objectmodel/INodeState.java b/src/helma/objectmodel/INodeState.java new file mode 100644 index 00000000..71d29773 --- /dev/null +++ b/src/helma/objectmodel/INodeState.java @@ -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; + +} + + + +