com.highqsoft.uml
Class UML2ODS

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

public class UML2ODS
extends java.lang.Object

This program converts the application elements of an ASAM ODS application model to UML and vice-versa.

Since:
$Date: 2007/09/14 18:03:30 $
Version:
$Revision: 1.3 $
Author:
Mark Quinsland

Field Summary
static java.lang.String AO_SERVICE_ATHOS
          Athos AoService
static java.lang.String AO_SERVICE_CORBA
          CORBA AoService
static java.lang.String CLASSNAME
           
static java.lang.String LOGON_PASSWORDPARM
           
static java.lang.String LOGON_USERPARM
           
static java.lang.String version
           
 
Constructor Summary
UML2ODS()
          Constructor.
 
Method Summary
static com.highqsoft.odsx.OdsxSession CreateSession(java.lang.String username, java.lang.String password, java.lang.String servicetype, java.lang.String service, java.lang.String hostName, java.lang.String portName)
           
static org.asam.ods.AoSession getATFSession(java.lang.String serviceName, java.lang.String fileName)
          Creates an AoSession from an ATF file using the athos default
static org.asam.ods.AoSession getATFSession(java.lang.String serviceName, java.lang.String fileName, java.lang.String serviceType)
          Creates an AoSession from an ATF file
 java.lang.String getVersion()
           
static void main(java.lang.String[] args)
           
static org.jdom.Document readDocument(java.lang.String fileName)
          Read and parse an xml document from the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values

CLASSNAME

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

AO_SERVICE_ATHOS

public static final java.lang.String AO_SERVICE_ATHOS
Athos AoService

See Also:
Constant Field Values

AO_SERVICE_CORBA

public static final java.lang.String AO_SERVICE_CORBA
CORBA AoService

See Also:
Constant Field Values

LOGON_USERPARM

public static final java.lang.String LOGON_USERPARM
See Also:
Constant Field Values

LOGON_PASSWORDPARM

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

UML2ODS

public UML2ODS()
Constructor.

Method Detail

getVersion

public java.lang.String getVersion()

main

public static void main(java.lang.String[] args)
Parameters:
args -

readDocument

public static org.jdom.Document readDocument(java.lang.String fileName)
Read and parse an xml document from the file

Returns:
the JDOM document parsed from the file.

CreateSession

public static com.highqsoft.odsx.OdsxSession CreateSession(java.lang.String username,
                                                           java.lang.String password,
                                                           java.lang.String servicetype,
                                                           java.lang.String service,
                                                           java.lang.String hostName,
                                                           java.lang.String portName)

getATFSession

public static org.asam.ods.AoSession getATFSession(java.lang.String serviceName,
                                                   java.lang.String fileName)
Creates an AoSession from an ATF file using the athos default

Parameters:
serviceName - The name of the service to connect
fileName - The name of the atf file to use
Returns:
AoSession - a session on the desired plumname

getATFSession

public static org.asam.ods.AoSession getATFSession(java.lang.String serviceName,
                                                   java.lang.String fileName,
                                                   java.lang.String serviceType)
Creates an AoSession from an ATF file

Parameters:
serviceType - The pluggable module (Athos or Corba) to use
serviceName - The name of the service to connect
fileName - The name of the atf file to use
Returns:
AoSession - a session on the desired plumname