oracle.jdeveloper.cm.ds.db
Class DBUtil
java.lang.Object
oracle.jdeveloper.cm.ds.db.DBUtil
- public class DBUtil
- extends java.lang.Object
Utility class associated with the DB package.
- Since:
- 9.0.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getArgusNameForType
public static java.lang.String getArgusNameForType(java.lang.String dbType)
getArgusTypeForName
public static java.lang.String getArgusTypeForName(java.lang.String name)
getFolderIcon
public static javax.swing.Icon getFolderIcon(java.lang.String typeName)
getNodeIcon
public static javax.swing.Icon getNodeIcon(java.lang.String typeName)
getDisplayName
public static java.lang.String getDisplayName(java.lang.String typeName)
getDisplayName
public static java.lang.String getDisplayName(java.net.URL url)
registerType
public static void registerType(java.lang.String typeName,
java.lang.String displayName,
javax.swing.Icon folderIcon,
javax.swing.Icon nodeIcon)
makeTemporaryCopy
public static DBObject makeTemporaryCopy(DBObject object)
- Makes a copy of the original object, with temporary reference ids.
-
- Parameters:
object
- The original DBObject
- Returns:
- The copy of the object, with the same data, but using temporary object ids.
updateObjectAndIDs
public static void updateObjectAndIDs(DBObject oldVersion,
DBObject newVersion)
findChildInCopy
public static DBObject findChildInCopy(SchemaObject orig,
SchemaObject copy,
DBObject origChild)
- Given a child of an original object, finds the matching child of the copy
-
- Parameters:
orig
- The original object containing the child
copy
- The copy of the parent
origChild
- The child of the original
- Returns:
- the matchin child of the copy
Copyright © 1997, 2004, Oracle. All rights reserved.