com.highqsoft.uml
Class UMLBean

java.lang.Object
  extended by com.highqsoft.uml.UMLBean

public class UMLBean
extends java.lang.Object

This contains the search criteria objects and the search results

Since:
$Date: 2007/08/13 17:25:06 $
Version:
$Revision: 1.2 $
Author:
Mark Quinsland
See Also:

Field Summary
static java.lang.String CLASSNAME
           
 
Constructor Summary
UMLBean()
          Null Constructor
 
Method Summary
 int genASfromUML(org.jdom.Document inputDoc, org.asam.ods.ApplicationStructure as)
          This generates a UML XMI document that describes the ODS ApplicationELements and their relationships using UML ClassDiagram constructs.
 int genUMLfromAS(org.asam.ods.ApplicationStructure as)
          This generates a UML XMI document that describes the ODS ApplicationELements and their relationships using UML ClassDiagram constructs.
 java.util.ArrayList getAlErrMessages()
           
 java.util.ArrayList getAlLogMessages()
           
static org.asam.ods.DataType getDataType(java.lang.String name)
          Get the datatype of the application attribute.
 java.util.ArrayList getErrors()
          Return the errors created during the ATF generation
 java.util.ArrayList getMessages()
          Return the errors created during the ATF generation
 org.jdom.Document getOutputDoc()
           
 int getRc()
           
 java.lang.String getVersion()
           
 void setAs(org.asam.ods.ApplicationStructure as)
           
 void setConfigFileName(java.lang.String configFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
See Also:
Constant Field Values
Constructor Detail

UMLBean

public UMLBean()
Null Constructor

Method Detail

getVersion

public java.lang.String getVersion()

genASfromUML

public int genASfromUML(org.jdom.Document inputDoc,
                        org.asam.ods.ApplicationStructure as)
This generates a UML XMI document that describes the ODS ApplicationELements and their relationships using UML ClassDiagram constructs. While it does generate the elements for a diagram, it does not actually generate the diagram.

Parameters:
as - The ODS ApplicationStructure to be converted to UML
Returns:

genUMLfromAS

public int genUMLfromAS(org.asam.ods.ApplicationStructure as)
This generates a UML XMI document that describes the ODS ApplicationELements and their relationships using UML ClassDiagram constructs. While it does generate the elements for a diagram, it does not actually generate the diagram.

Parameters:
as - The ODS ApplicationStructure to be converted to UML
Returns:

getMessages

public java.util.ArrayList getMessages()
Return the errors created during the ATF generation

Returns:
errors the error created during the ATF generation

getErrors

public java.util.ArrayList getErrors()
Return the errors created during the ATF generation

Returns:
errors the error created during the ATF generation

getAlErrMessages

public java.util.ArrayList getAlErrMessages()
Returns:
Returns the alErrMessages.

getAlLogMessages

public java.util.ArrayList getAlLogMessages()
Returns:
Returns the alLogMessages.

getOutputDoc

public org.jdom.Document getOutputDoc()
Returns:
Returns the outputDoc.

getRc

public int getRc()
Returns:
Returns the rc.

setAs

public void setAs(org.asam.ods.ApplicationStructure as)
Parameters:
as - The as to set.

setConfigFileName

public void setConfigFileName(java.lang.String configFileName)
Parameters:
configFileName - The configFileName to set.

getDataType

public static org.asam.ods.DataType getDataType(java.lang.String name)
Get the datatype of the application attribute.

Parameters:
a - string with the name of the data type of the application attribute
Returns:
a DataType object