initial load
[DTRules.git] / DTRules / src / main / java / com / dtrules / trace / DecisionTableNode.java
blob443b9ef7fb1af51d69ee8cde365aa57c60d6fc62
1 /*
2 * Copyright 2004-2007 MTBJ, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.dtrules.trace;
18 import java.util.ArrayList;
20 import com.dtrules.interpreter.RInteger;
21 import com.dtrules.interpreter.RName;
23 public class DecisionTableNode implements TraceNode {
25 ArrayList<TraceNode> children = new ArrayList<TraceNode>();
26 TraceNode parent;
27 TraceNode previous;
29 public RName getAttribute() {
30 return null;
32 /**
33 * Get first child, and return null if no children.
35 public TraceNode getFirstChild() {
36 if(children.size()==0)return null;
37 return children.get(0);
40 public RInteger getIndex() {
41 return null;
44 public TraceNode getNext() {
45 // TODO Auto-generated method stub
46 return null;
49 public TraceNode getNextChange() {
50 // TODO Auto-generated method stub
51 return null;
54 public TraceNode getParent() {
55 // TODO Auto-generated method stub
56 return null;
59 public TraceNode getPrevious() {
60 // TODO Auto-generated method stub
61 return null;
64 public TraceNode getPreviousChange() {
65 // TODO Auto-generated method stub
66 return null;
69 public void setNewValues() {
70 // TODO Auto-generated method stub
74 public void setOldValues() {
75 // TODO Auto-generated method stub