Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide
Class ComponentVersionManager

java.lang.Object
  extended by oracle.ide.ComponentVersionManager

public final class ComponentVersionManager
extends java.lang.Object

Adds the component name and version number to the list of registered component/version sets. The information should be added when each Addin starts up which comprises a component, it should register it's name and version information with this class. The About Box for the main product should get this information and then use it when displaying version information to the end user.

See Also:
oracle.ide.addin.Addin, oracle.ide.addin.Addin#initialize()

Method Summary
 void addComponent(java.lang.String componentName, java.lang.String versionNumber)
          Adds the component name and version number to the list of registered component/version sets.
 java.util.Iterator getVersionPairs()
          Returns an Iterator of Pair classes comprising the component name and version information.
 void removeComponent(java.lang.String componentName)
          Removes the component name from the list of registered component sets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addComponent

public void addComponent(java.lang.String componentName,
                         java.lang.String versionNumber)
Adds the component name and version number to the list of registered component/version sets.

Parameters:
componentName - The Name of the component, for example: Business Components for Java.
versionNumber - The version of the component. for example: 9.0.5.12

removeComponent

public void removeComponent(java.lang.String componentName)
Removes the component name from the list of registered component sets.

Parameters:
componentName - the name of the component.

getVersionPairs

public java.util.Iterator getVersionPairs()
Returns an Iterator of Pair classes comprising the component name and version information.

Returns:
Iterator on the List of Pair instances.

See Also:
Pair

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.