]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/find/ProtocolId.java
1. Provide "Find" function for Ppi/Protocol/Guid/Pcd/LibraryClass.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / find / ProtocolId.java
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/find/ProtocolId.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/find/ProtocolId.java
new file mode 100644 (file)
index 0000000..69bcbec
--- /dev/null
@@ -0,0 +1,76 @@
+/** @file\r
+\r
+ The file is used to define PROTOCOL Identification used by find function\r
+\r
+ Copyright (c) 2006, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution.  The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+ **/\r
+package org.tianocore.frameworkwizard.common.find;\r
+\r
+public class ProtocolId {\r
+\r
+    private String name = null;\r
+\r
+    private String type = null;\r
+\r
+    private String producedModules = null;\r
+\r
+    private String consumedModules = null;\r
+    \r
+    private String declaredBy = null;\r
+\r
+    public ProtocolId(String arg0, String arg1, String arg2, String arg3, String arg4) {\r
+        this.name = (arg0 == null ? "" : arg0);\r
+        this.type = (arg1 == null ? "" : arg1);\r
+        this.producedModules = (arg2 == null ? "" : arg2);\r
+        this.consumedModules = (arg3 == null ? "" : arg3);\r
+        this.declaredBy = (arg4 == null ? "" : arg4);\r
+    }\r
+\r
+    public String getConsumedModules() {\r
+        return consumedModules;\r
+    }\r
+\r
+    public void setConsumedModules(String consumedModules) {\r
+        this.consumedModules = consumedModules;\r
+    }\r
+\r
+    public String getName() {\r
+        return name;\r
+    }\r
+\r
+    public void setName(String name) {\r
+        this.name = name;\r
+    }\r
+\r
+    public String getProducedModules() {\r
+        return producedModules;\r
+    }\r
+\r
+    public void setProducedModules(String producedModules) {\r
+        this.producedModules = producedModules;\r
+    }\r
+\r
+    public String getType() {\r
+        return type;\r
+    }\r
+\r
+    public void setType(String type) {\r
+        this.type = type;\r
+    }\r
+\r
+    public String getDeclaredBy() {\r
+        return declaredBy;\r
+    }\r
+\r
+    public void setDeclaredBy(String declaredBy) {\r
+        this.declaredBy = declaredBy;\r
+    }\r
+}\r