* @version 1.0
* @since 2016-09-20
*/
-public class CapabilityDecl {
-
- /**
- * Class properties
- */
- private String origInt;
+public class CapabilityDecl extends Declaration {
/**
* A "capability" statement:
* In this data structure we will record its capability name, i.e. ImageCapture
* and its descriptions and methods.
*/
+
+ /**
+ * Class properties
+ */
private List<String> listCapabs; // list of capabilities
private List<List<String>> listDescs; // list of descriptions
private List<List<String>> listMethods; // list of methods
*/
public CapabilityDecl() {
- origInt = null;
+ super();
listCapabs = new ArrayList<String>();
listDescs = new ArrayList<List<String>>();
listMethods = new ArrayList<List<String>>();
public CapabilityDecl(String _origInt) {
- origInt = _origInt;
+ super(_origInt);
listCapabs = new ArrayList<String>();
listDescs = new ArrayList<List<String>>();
listMethods = new ArrayList<List<String>>();