01: /*
02:
03: * Copyright 2005-2006 The Kuali Foundation.
04:
05: *
06:
07: *
08:
09: * Licensed under the Educational Community License, Version 1.0 (the "License");
10:
11: * you may not use this file except in compliance with the License.
12:
13: * You may obtain a copy of the License at
14:
15: *
16:
17: * http://www.opensource.org/licenses/ecl1.php
18:
19: *
20:
21: * Unless required by applicable law or agreed to in writing, software
22:
23: * distributed under the License is distributed on an "AS IS" BASIS,
24:
25: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26:
27: * See the License for the specific language governing permissions and
28:
29: * limitations under the License.
30:
31: */
32:
33: package edu.iu.uis.eden.engine.node;
34:
35: import java.io.Serializable;
36:
37: /**
38:
39: * A KeyValuePair that adds an id fields that makes it sufficient for storing in a database.
40:
41: *
42:
43: * @author ewestfal
44:
45: */
46:
47: public abstract class State extends KeyValuePair implements
48: Serializable {
49:
50: protected Long stateId;
51:
52: public State() {
53: }
54:
55: public State(String key, String value) {
56:
57: super (key, value);
58:
59: }
60:
61: public Long getStateId() {
62:
63: return stateId;
64:
65: }
66:
67: public void setStateId(Long stateId) {
68:
69: this.stateId = stateId;
70:
71: }
72:
73: }
|