]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/GenBuild/org/tianocore/build/id/ModuleIdentification.java
- Move global declarations from AutoGen.c to AutoGen.h
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / id / ModuleIdentification.java
index dfcbeae76a1d1a3bcea689c9e0600290fe3514dc..7082184dfd4eefae4b39b82f8beaf0d261901cc0 100644 (file)
@@ -31,6 +31,8 @@ public class ModuleIdentification extends Identification {
     \r
     private boolean isLibrary = false;\r
 \r
+    private boolean isBinary = false;\r
+\r
     private String constructor = "";\r
 \r
     private String destructor = "";\r
@@ -87,6 +89,20 @@ public class ModuleIdentification extends Identification {
         this.isLibrary = isLibrary;\r
     }\r
 \r
+    /**\r
+      @return boolean is this module is binary\r
+    **/\r
+    public boolean isBinary() {\r
+        return isBinary;\r
+    }\r
+\r
+    /**\r
+      @param isBinary\r
+    **/\r
+    public void setBinary(boolean isBinary) {\r
+        this.isBinary = isBinary;\r
+    }\r
+\r
     /**\r
       @return MSA File\r
     **/\r
@@ -189,25 +205,44 @@ public class ModuleIdentification extends Identification {
     public void setModuleType(String moduleType) {\r
         this.moduleType = moduleType;\r
     }\r
-    \r
+\r
+    /**\r
+       @return String The module name\r
+     **/\r
     public String getName() {\r
         return name;\r
     }\r
 \r
+    /**\r
+       @return boolean\r
+     **/\r
     public boolean hasConstructor() {\r
         return constructor != "";\r
     }\r
 \r
+    /**\r
+       @return boolean\r
+     */\r
     public boolean hasDestructor() {\r
         return destructor != "";\r
     }\r
 \r
+    /**\r
+       Set the constructor function name if this module is a library\r
+\r
+       @param name\r
+     */\r
     public void setConstructor(String name) {\r
         if (name != null) {\r
             constructor = name;\r
         }\r
     }\r
 \r
+    /**\r
+       Set the destructor function name if this module is a library\r
+\r
+       @param name\r
+     */\r
     public void setDestructor(String name) {\r
         if (name != null) {\r
             destructor = name;\r