\r
private boolean isLibrary = false;\r
\r
+ private boolean isBinary = false;\r
+\r
private String constructor = "";\r
\r
private String destructor = "";\r
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
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