public class VersionedIdentifier extends Object
Clients may instantiate; not intended to be subclassed by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
PluginVersionIdentifier
Constructor and Description |
---|
VersionedIdentifier(String id,
String versionName)
Construct a versioned identifier from an identifier and a string
representation of a version
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two versioned identifiers for equality
|
String |
getIdentifier()
Returns the identifier
|
PluginVersionIdentifier |
getVersion()
Returns the version
|
int |
hashCode()
Returns a computed hashcode for the versioned identifier.
|
String |
toString()
Returns a string representation of the versioned identifier.
|
public VersionedIdentifier(String id, String versionName)
id
- identifier stringversionName
- string representation of versionPluginVersionIdentifier.toString()
public String getIdentifier()
public PluginVersionIdentifier getVersion()
public String toString()
public boolean equals(Object obj)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.