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.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.