Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.meta
Class JDOMetaDataTool

    java.lang.Object
      |
      +--kodo.meta.JDOMetaDataTool

public class JDOMetaDataTool
extends Object

Tool for generating default JDO metadata.

Since:
  3.0

Constructor Summary
`JDOMetaDataTool()`

Method Summary
`static void` | `main(String[] args)` Usage: java kodo.meta.JDOMetaDataTool [option]* <class name | .java file | .class file>+
`static boolean` | `run(JDOConfiguration conf, String[] args, boolean verbose, File file, ClassLoader loader)` Run the tool.
`static boolean` | `run(JDOConfiguration conf, String[] args, boolean verbose, Writer out, ClassLoader loader)` Run the tool.
`static boolean` | `run(JDOConfiguration conf, String[] args, serp.util.Options opts)` Run the tool.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JDOMetaDataTool

    public JDOMetaDataTool()

Method Detail

### main

    public static void main(String[] args)
                     throws IOException

  Usage: java kodo.meta.JDOMetaDataTool [option]* <class name | .java file | .class file>+

  Where the following options are recognized.

  - -properties/-p <properties file or resource>: The path or resource name of a Kodo properties file containing information such as the license key data as outlined in `JDOConfiguration`. Optional.
  - -<property name> <property value>: All bean properties of the Kodo `JDOConfiguration` can be set by using their names and supplying a value. For example: `-licenseKey adslfja83r3lkadf`
  - -verbose/-v <true/t | false/f>: Set this flag to true to include `<field>` elements for all fields in the generated XML. By default, fields are only included if they are collection or map types that require the key-type and element-type to be filled in.
  - -file/-f <stdout | output file or resource>: The path or resource name of a file the metadata should be generated to; if this option is not specified, the metadata will be printed to stdout. If the given file already contains metadata, the generated metadata will be merged into the existing document.

  Each class supplied as an argument will be reflected on, and default metadata will be generated.

### run

    public static boolean run(JDOConfiguration conf,
                              String[] args,
                              serp.util.Options opts)
                       throws IOException

  Run the tool. Returns false if any invalid options were given.

### run

    public static boolean run(JDOConfiguration conf,
                              String[] args,
                              boolean verbose,
                              File file,
                              ClassLoader loader)
                       throws IOException

  Run the tool. Return false if invalid options were given.

### run

    public static boolean run(JDOConfiguration conf,
                              String[] args,
                              boolean verbose,
                              Writer out,
                              ClassLoader loader)
                       throws IOException

  Run the tool. Return false if invalid options were given.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.3.5 generated on August 31 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.