source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.ui/src/de/ugoe/cs/swe/bnftools/utils/DeclarationReferencesPair.java

Last change on this file was 5, checked in by zeiss, 14 years ago
  • Property svn:mime-type set to text/plain
File size: 836 bytes
Line 
1package de.ugoe.cs.swe.bnftools.utils;
2
3import java.util.List;
4
5import org.eclipse.xtext.parsetree.CompositeNode;
6
7public class DeclarationReferencesPair {
8        private CompositeNode declarationNode;
9        private List<CompositeNode> referenceNodes;
10
11        public DeclarationReferencesPair(CompositeNode declarationNode, List<CompositeNode> references) {
12                this.declarationNode = declarationNode;
13                this.referenceNodes = references;
14        }
15       
16        public CompositeNode getDeclarationNode() {
17                return declarationNode;
18        }
19
20        public void setDeclarationNode(CompositeNode declarationNode) {
21                this.declarationNode = declarationNode;
22        }
23
24        public List<CompositeNode> getReferenceNodes() {
25                return referenceNodes;
26        }
27
28        public void setReferenceNodes(List<CompositeNode> referenceNodes) {
29                this.referenceNodes = referenceNodes;
30        }
31
32}
Note: See TracBrowser for help on using the repository browser.