|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.highqsoft.uml.ODSdiff
public class ODSdiff
This program converts the application elements of an ASAM ODS application model to UML and vice-versa.
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 | |
---|---|
ODSdiff()
Constructor. |
Method Summary | |
---|---|
static boolean |
checkFileExists(java.lang.String fullFileName)
Check to see if the file exists |
void |
closeFile(java.io.PrintWriter pw)
Close HTML output file. |
void |
compareModelElements(org.asam.ods.ApplicationStructure asA,
org.asam.ods.ApplicationStructure asB)
|
void |
compareModelEnums(org.asam.ods.ApplicationStructure asA,
org.asam.ods.ApplicationStructure asB)
|
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 java.lang.String |
dataTypeToString(int dt)
Convert data type to string. |
static org.asam.ods.ApplicationStructure |
getAppStructure(java.lang.String fullFileName,
java.lang.String serviceName)
Load the ATF File and obtain an application structure from it. |
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)
|
java.lang.String |
nonBlank(java.lang.String theString)
Make sure that empty strings contain at least an HTML non blank space. |
java.io.PrintWriter |
openFile(java.lang.String filename)
Open HTML output file. |
void |
printFooter(java.io.PrintWriter pw)
Print the HTML document footer. |
void |
printHeader(java.io.PrintWriter pw,
java.lang.String pageTitle)
Print the HTML document header. |
static java.lang.String |
relationRangeToString(org.asam.ods.RelationRange rr)
Convert relation range to string. |
static java.lang.String |
relationshipToString(int rs)
Convert relationship to string. |
static java.lang.String |
relationTypeToString(int rt)
Convert relation type to string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
public static final java.lang.String CLASSNAME
public static final java.lang.String AO_SERVICE_ATHOS
public static final java.lang.String AO_SERVICE_CORBA
public static final java.lang.String LOGON_USERPARM
public static final java.lang.String LOGON_PASSWORDPARM
Constructor Detail |
---|
public ODSdiff()
Method Detail |
---|
public java.lang.String getVersion()
public static void main(java.lang.String[] args)
args
- public void compareModelElements(org.asam.ods.ApplicationStructure asA, org.asam.ods.ApplicationStructure asB) throws java.lang.Exception
java.lang.Exception
public void compareModelEnums(org.asam.ods.ApplicationStructure asA, org.asam.ods.ApplicationStructure asB) throws java.lang.Exception
java.lang.Exception
public static boolean checkFileExists(java.lang.String fullFileName)
fullFileName
- The full path to the file
public static org.asam.ods.ApplicationStructure getAppStructure(java.lang.String fullFileName, java.lang.String serviceName)
fullFileName
- The path and file name of the source atf fileserviceName
- The name of the atf file import service in the Athos Ini file
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)
public static org.asam.ods.AoSession getATFSession(java.lang.String serviceName, java.lang.String fileName)
serviceName
- The name of the service to connectfileName
- The name of the atf file to use
public static org.asam.ods.AoSession getATFSession(java.lang.String serviceName, java.lang.String fileName, java.lang.String serviceType)
serviceType
- The pluggable module (Athos or Corba) to useserviceName
- The name of the service to connectfileName
- The name of the atf file to use
public void printHeader(java.io.PrintWriter pw, java.lang.String pageTitle)
public void printFooter(java.io.PrintWriter pw)
public java.lang.String nonBlank(java.lang.String theString)
public void closeFile(java.io.PrintWriter pw)
public static java.lang.String dataTypeToString(int dt)
dt
- The data type to be converted to string.
public static java.lang.String relationRangeToString(org.asam.ods.RelationRange rr)
rr
- The relation range to be converted to string.
public static java.lang.String relationTypeToString(int rt)
rt
- The relation type to be converted to string.
public static java.lang.String relationshipToString(int rs)
rs
- The relationship to be converted to string.
public java.io.PrintWriter openFile(java.lang.String filename)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |