org.enhydra.xml.xmlc.metadata
Class GenerateType

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.metadata.EnumeratedType
        |
        +--org.enhydra.xml.xmlc.metadata.GenerateType

public class GenerateType
extends EnumeratedType

Enumerated type indicating the type of class and/or interface XMLC will generate.


Field Summary
static GenerateType BOTH
          Constant indicating an interface and implementation should be generated.
static GenerateType CLASS
          Constant indicating a standalone class should be generated.
static GenerateType IMPLEMENTATION
          Constant indicating an implementation should be generated.
static GenerateType INTERFACE
          Constant indicating an interface should be generated.
 
Fields inherited from class org.enhydra.xml.xmlc.metadata.EnumeratedType
fName
 
Method Summary
 boolean generateClass()
          Does this type specify a class being generated?
 boolean generateInterface()
          Does this type specify an interface being generated?
static GenerateType getType(String desiredType)
          Get the object for the specified type.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.EnumeratedType
getName, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS

public static final GenerateType CLASS
Constant indicating a standalone class should be generated.

INTERFACE

public static final GenerateType INTERFACE
Constant indicating an interface should be generated.

IMPLEMENTATION

public static final GenerateType IMPLEMENTATION
Constant indicating an implementation should be generated.

BOTH

public static final GenerateType BOTH
Constant indicating an interface and implementation should be generated.
Method Detail

generateClass

public boolean generateClass()
Does this type specify a class being generated?

generateInterface

public boolean generateInterface()
Does this type specify an interface being generated?

getType

public static GenerateType getType(String desiredType)
Get the object for the specified type. If desiredType is null, returns null.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.