org.apache.tuscany.samples.sdo.otherSources
Class PurchaseOrderCmdLine
java.lang.Object
org.apache.tuscany.samples.sdo.otherSources.PurchaseOrderCmdLine
public class PurchaseOrderCmdLine
- extends java.lang.Object
Provides interactive menu based command line interface to modify, save, view purchase order DataObject.
Usage:
This sample can easily be run from within Eclipse as a Java Application if tuscany or
the sample-sdo project is imported into Eclipse as an existing project.
If executing as a standalone application please do the following:
- Include the following jar files on your classpath :
- SDO API and Tuscany Implementation
- sdo-api-{version}.jar - SDO API
- tuscany-sdo-impl-{version}.jar - Tuscany SDO implementation
- EMF dependencies.
- emf-common-{version}.jar - some common framework utility and base classes
- emf-ecore-{version}.jar - the EMF core runtime implementation classes (the Ecore metamodel)
- emf-ecore-change-{version}.jar - the EMF change recorder and framework
- emf-ecore-xmi-{version}.jar - EMF's default XML (and XMI) serializer and loader
- xsd-{version}.jar - the XML Schema model
These jar files can be obtained by downloading and unpacking a Tuscany binary distribution
- Execute:
java org.apache.tuscany.samples.sdo.otherSources.PurchaseOrderCmdLine
- See Also:
SdoSampleConstants
,
PurchaseOrderControl
Method Summary |
static void |
main(java.lang.String[] args)
Drives sample program |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchaseOrderCmdLine
public PurchaseOrderCmdLine()
main
public static void main(java.lang.String[] args)
- Drives sample program
- Parameters:
args.
- args[0] is optional xsdFilename, args[1] is optional xmlFileName
Copyright © 2007 Apache Software Foundation. All Rights Reserved.