Extension SDK 10.1.2

oracle.ide.model
Class TechId

java.lang.Object
  extended byoracle.ide.model.TechId
All Implemented Interfaces:
java.lang.Comparable

public final class TechId
extends java.lang.Object
implements java.lang.Comparable

The TechId class is a unique identifier for representing a technology in the system. Each instance wraps the display attributes for representing the technology in the user interface.


Method Summary
 int compareTo(java.lang.Object object)
          Compares two TechId instances for ordering.
 java.lang.String getDescription()
          Returns the display description for this technology.
 java.lang.String getKey()
          Returns the key for this technology.
 java.lang.String getName()
          Returns the display name for this technology.
 TechId getParent()
          Returns the parent TechId for this technology.
 boolean isAncestorOf(TechId techId)
          Returns true if this technology is an ancestor of the specified TechId.
 boolean isInScope(TechnologyScope scope)
          Returns true if this technology exists in the specified TechnologyScope.
 boolean isVisible()
          Returns true if this technology should be visible in the user interface, otherwise returns false.
 java.lang.String toString()
          Returns a short description of the technology.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getParent

public TechId getParent()
Returns the parent TechId for this technology.


getName

public java.lang.String getName()
Returns the display name for this technology.


getDescription

public java.lang.String getDescription()
Returns the display description for this technology.


getKey

public java.lang.String getKey()
Returns the key for this technology.


isVisible

public boolean isVisible()
Returns true if this technology should be visible in the user interface, otherwise returns false.


isInScope

public boolean isInScope(TechnologyScope scope)
Returns true if this technology exists in the specified TechnologyScope. If this is a pseudo-technology, then the PseudoTechnologyCallback may be queried to determine if this technology is in the specified scope.

Parameters:
scope - the current technology scope.

isAncestorOf

public boolean isAncestorOf(TechId techId)
Returns true if this technology is an ancestor of the specified TechId.

Parameters:
techId - the prospective descendant technology.

compareTo

public int compareTo(java.lang.Object object)
Compares two TechId instances for ordering.

Specified by:
compareTo in interface java.lang.Comparable
Throws:
java.lang.ClassCastException - if the argument is not another TechId instance.

toString

public java.lang.String toString()
Returns a short description of the technology.


Extension SDK

 

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