|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdeveloper.cm.ds.db.DatabaseObjectType
Constants for the Database Object Types, as well as a few static utility methods. The class is immutable, like java.lang.Integer
Integer
Field Summary | |
static int |
BLOCK
Constant: Anonymous PL/SQL Block |
static int |
CATALOG
Constant: Database Catalog |
static int |
COLUMN
Constant: Column in a TABLE |
static int[][] |
DB_TYPE_IMAGE
Two dimensional array of images for each type. |
static java.lang.String[] |
DISPLAY_DB_TYPE_NAMES
Display Name for the different database object types |
static int |
FUNCTION
Constant: Oracle Function |
static int |
IMAGE_FOLDER
Constant: Folder Image |
static int |
IMAGE_NODE
Constant: Node Image |
static int |
INDEX
Constant: Table Index |
static int |
INVALID_TYPE
Constant: Invalid value for type |
static int |
JAVA_CLASS
Constant: Oracle deployed Java class |
static int |
JAVA_RESOURCE
Constant: Oracle deployed Java resource |
static int |
JAVA_SOURCE
Constant: Oracle deployed Java source |
static int |
JSERVER_OBJECTS
Constant: Oracle objects bound to the JNDI namespace within Aurora |
static int |
LIBRARY
Constant: Oracle PL/SQL Library Unit |
static int |
PACKAGE
Constant: Oracle Package Specification |
static int |
PACKAGE_BODY
Constant: Oracle Package Body |
static int |
PROCEDURE
Constant: Procedure |
static int |
SCHEMA
Constant: Schema (aka User) |
static int |
SEQUENCE
Constant: Sequence |
static int |
SYNONYM
Constant: Synonym |
static int |
TABLE
Constant: Table |
static int |
TRIGGER
Constant: Oracle Trigger |
static int |
TYPE
Constant: Oracle Object Type Specification |
static int |
TYPE_BODY
Constant: Oracle Object Type Body |
static int |
VIEW
Constant: View |
Constructor Summary | |
DatabaseObjectType(int type)
Constructor |
Method Summary | |
static java.lang.String |
getArgusNameForType(int type)
Get the Argus name for a type . |
static int |
getArgusTypeForName(java.lang.String name)
Get the Argus object type for a name. |
static java.lang.String |
getDbNameForType(int type)
Get the Database's name for a dbObjectType. |
static int |
getDbTypeForName(java.lang.String name)
Get the Database's object type for a name. |
static java.lang.String |
getDisplayName(int dbObjectType)
Utility method to obtain the display name fo ra given object type |
static javax.swing.Icon |
getIcon(int dbObjectType,
int nodeType)
Utility method to get an Icon for the object type. |
int |
getType()
Gets the int constant representing the type this class represents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INVALID_TYPE
public static final int PACKAGE
public static final int PACKAGE_BODY
public static final int FUNCTION
public static final int PROCEDURE
public static final int TYPE
public static final int TYPE_BODY
public static final int TABLE
public static final int VIEW
public static final int TRIGGER
public static final int JAVA_CLASS
public static final int JAVA_RESOURCE
public static final int JAVA_SOURCE
public static final int SEQUENCE
public static final int SYNONYM
public static final int SCHEMA
public static final int JSERVER_OBJECTS
public static final int INDEX
public static final int LIBRARY
public static final int CATALOG
public static final int BLOCK
public static final int COLUMN
public static final int IMAGE_FOLDER
public static final int IMAGE_NODE
public static final java.lang.String[] DISPLAY_DB_TYPE_NAMES
public static final int[][] DB_TYPE_IMAGE
Constructor Detail |
public DatabaseObjectType(int type)
type
- The integer constant type of which this class instance
representsMethod Detail |
public int getType()
public static final java.lang.String getDbNameForType(int type)
null
is returned. This class is the inverse of
getDbTypeForName
getDbTypeForName(String)
public static final java.lang.String getArgusNameForType(int type)
type
. If the type is not found,
then null
is returned. This class is the inverse of
getArgusTypeForName
getArgusTypeForName(String)
public static final int getDbTypeForName(java.lang.String name)
getDbNameForType
getDbNameForType(int)
,
INVALID_TYPE
public static final int getArgusTypeForName(java.lang.String name)
getArgusNameForType
getArgusNameForType(int)
,
INVALID_TYPE
public static final javax.swing.Icon getIcon(int dbObjectType, int nodeType)
dbObjectType
- Type of database objectnodeType
- IMAGE_FOLDER
or IMAGE_NODE
public static final java.lang.String getDisplayName(int dbObjectType)
dbObjectType
- Type of database object
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.