Merge branch 'master' of ssh://plrg.eecs.uci.edu/home/git/iot2
[iot2.git] / iotjava / iotpolicy / tree / Declaration.java
1 package iotpolicy.tree;
2
3 /** Abstract class Declaration is a parent class of InterfaceDecl,
4  *  CapabilityDecl, and RequiresDecl
5  *
6  * @author      Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
7  * @version     1.0
8  * @since       2016-09-30
9  */
10 public abstract class Declaration {
11
12         /**
13          * Class properties
14          */
15         private String origInt;
16
17         /**
18          * Class constructors
19          */
20         public Declaration() {
21
22                 origInt = null;
23         }
24
25
26         public Declaration(String _origInt) {
27
28                 origInt = _origInt;
29         }
30
31
32         public String getInterface() {
33
34                 return origInt;
35         }
36 }
37