com.semarchy.mdm.runtime.model.dbschema
Enum IDBSourceCode.SourceCodeType

java.lang.Object
  extended by java.lang.Enum<IDBSourceCode.SourceCodeType>
      extended by com.semarchy.mdm.runtime.model.dbschema.IDBSourceCode.SourceCodeType
All Implemented Interfaces:
Serializable, Comparable<IDBSourceCode.SourceCodeType>
Enclosing interface:
IDBSourceCode

public static enum IDBSourceCode.SourceCodeType
extends Enum<IDBSourceCode.SourceCodeType>


Enum Constant Summary
FUNCTION
           
PACKAGE
           
PACKAGE_BODY
           
PROCEDURE
           
TYPE
           
 
Method Summary
 boolean isPackage()
           
static IDBSourceCode.SourceCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IDBSourceCode.SourceCodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PACKAGE

public static final IDBSourceCode.SourceCodeType PACKAGE

PACKAGE_BODY

public static final IDBSourceCode.SourceCodeType PACKAGE_BODY

FUNCTION

public static final IDBSourceCode.SourceCodeType FUNCTION

PROCEDURE

public static final IDBSourceCode.SourceCodeType PROCEDURE

TYPE

public static final IDBSourceCode.SourceCodeType TYPE
Method Detail

values

public static IDBSourceCode.SourceCodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IDBSourceCode.SourceCodeType c : IDBSourceCode.SourceCodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IDBSourceCode.SourceCodeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isPackage

public boolean isPackage()


Copyright © 2015. All Rights Reserved.