Cleaning up; Adding new files
[iot2.git] / iotjava / iotpolicy / tree / RequiresDecl.java
index 417015598731c73e022226818c2ea12f51535b29..b058716af1a781f93f4bd19761fe67c6adcd56fb 100644 (file)
@@ -82,24 +82,4 @@ public class RequiresDecl extends Declaration {
 
                return mapRequires.get(intFace);
        }
-
-
-       public static void main(String[] args) {
-
-               RequiresDecl rd = new RequiresDecl("Camera");
-               rd.addNewIntface("CameraWithCaptureAndData");
-               rd.addNewCapability("CameraWithCaptureAndData", "ImageCapture");
-               rd.addNewCapability("CameraWithCaptureAndData", "VideoRecording");
-
-               System.out.println("Set of interfaces: " + rd.getInterfaces().toString());
-               System.out.println("Set of capabilities: " + rd.getCapabList("CameraWithCaptureAndData").toString());
-
-               rd.addNewIntface("CameraWithCaptureAndRecording");
-               rd.addNewCapability("CameraWithCaptureAndRecording", "ImageCapture");
-               rd.addNewCapability("CameraWithCaptureAndRecording", "BackupData");
-
-               System.out.println("Set of interfaces: " + rd.getInterfaces().toString());
-               System.out.println("Set of capabilities: " + rd.getCapabList("CameraWithCaptureAndData").toString());
-               System.out.println("Set of capabilities: " + rd.getCapabList("CameraWithCaptureAndData").toString());
-       }
 }