|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.TechId
public final class TechId
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 | |
|---|---|
boolean |
addDependency(TechId dependency)
Ensures that this technology depends on another technology. |
int |
compareTo(java.lang.Object object)
Compares two TechId instances for ordering. |
boolean |
dependsOn(TechId techId)
Returns true if this technology depends on the specified
technology, either directly or indirectly. |
java.util.Set |
getDependencies()
Returns the collection of technologies upon which this technology directly depends; if this technology does not depend upon other technologies, the collection is empty. |
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. |
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. |
boolean |
removeDependency(TechId dependency)
Removes a dependent technology from the this technology, if the dependency exists. |
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 |
|---|
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getKey()
public boolean addDependency(TechId dependency)
true if the specified technology was a new dependency.
true if the dependencies changed as a result of
the callpublic boolean removeDependency(TechId dependency)
true if this technology
contained the specified dependency.
true if the dependencies changed as a result of
the callpublic java.util.Set getDependencies()
TechIds upon which this technology is
dependentpublic boolean isVisible()
true if this technology should be visible in the
user interface, otherwise returns false.
public boolean isInScope(TechnologyScope scope)
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.
scope - the current technology scope.public boolean dependsOn(TechId techId)
true if this technology depends on the specified
technology, either directly or indirectly.
techId - the technology
true if this technology depends on the specified
technologypublic int compareTo(java.lang.Object object)
TechId instances for ordering.
compareTo in interface java.lang.Comparablejava.lang.ClassCastException - if the argument is not another
TechId instance.public java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||