|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.tools.generate_classes.CreateFile
org.biomage.tools.generate_classes.CreatePackageFile
public class CreatePackageFile
Description: Class that is resposible for generating a java file for the class represented by the class node passed into the constructor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.biomage.tools.generate_classes.CreateFile |
---|
CreateFile.AssociationAttrInformation, CreateFile.AttrInformation, CreateFile.IdentifierAttrInformation, CreateFile.RoleInformation |
Field Summary |
---|
Fields inherited from class org.biomage.tools.generate_classes.CreateFile |
---|
associationInfo, baseClassCreateFile, baseClassID, baseClassName, classDoc, className, concreteSubClassNames, dataAttrInfo, importDate, importSerializable, importVector, interfaceInfo, isAbstract, isBaseClass, isIdentifiable, isIndependent, isInterface, isReferenced, JAVA_INTERFACE, methodInfo, NEWLINE, packageDoc, packageImports, packageName, roleNames, subClassNames, typeOwned, UML_CLASS, UML_MODEL, UML_PACKAGE, visibility |
Constructor Summary | |
---|---|
protected |
CreatePackageFile(org.w3c.dom.Element packageNode,
org.w3c.dom.Element packageOrder,
java.util.Map id2classFiles,
java.util.Map id2extInfo)
Description: Constructor for the package file generator. |
Method Summary | |
---|---|
protected java.util.Vector |
associationAttrInformation(org.w3c.dom.Element packageNode,
org.w3c.dom.Element packageOrder,
java.util.Map id2classFiles)
Description: Puts together the information on the class associations. |
protected java.lang.String |
getClassName()
Description: Returns the class name of the class. |
int |
getFileType()
Description: Returns what kind of model element this class is based on. |
protected void |
headerInformation(org.w3c.dom.Element packageNode,
java.util.Map id2extInfo)
Description: Obtains the information to generate the information for the package and the declaration of the class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CreatePackageFile(org.w3c.dom.Element packageNode, org.w3c.dom.Element packageOrder, java.util.Map id2classFiles, java.util.Map id2extInfo) throws java.lang.Exception
packageNode:
- information for the package file to create.packageOrder:
- information for how the associations should be ordered.id2classFiles:
- look up to the class files to find which ones
should generate associations in the package file.id2extInfo:
- map where documentation for the class can be
found
java.lang.Exception
Method Detail |
---|
protected java.lang.String getClassName() throws java.lang.Exception
java.lang.Exception
protected void headerInformation(org.w3c.dom.Element packageNode, java.util.Map id2extInfo) throws java.lang.Exception
packageNode:
- node representing the package.id2extInfo:
- map where documentation for the class can be
found
java.lang.Exception
protected java.util.Vector associationAttrInformation(org.w3c.dom.Element packageNode, org.w3c.dom.Element packageOrder, java.util.Map id2classFiles) throws java.lang.Exception
packageNode:
- package node and the contained class nodes.id2classFiles:
- map to the class files for list information.
java.lang.Exception
public int getFileType()
getFileType
in class CreateFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |