2 * Copyright 2004-2007 MTBJ, Inc.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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
>();
29 public RName
getAttribute() {
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() {
44 public TraceNode
getNext() {
45 // TODO Auto-generated method stub
49 public TraceNode
getNextChange() {
50 // TODO Auto-generated method stub
54 public TraceNode
getParent() {
55 // TODO Auto-generated method stub
59 public TraceNode
getPrevious() {
60 // TODO Auto-generated method stub
64 public TraceNode
getPreviousChange() {
65 // TODO Auto-generated method stub
69 public void setNewValues() {
70 // TODO Auto-generated method stub
74 public void setOldValues() {
75 // TODO Auto-generated method stub