Eclipse Platform
2.0

org.eclipse.update.core.model
Class ImportModel

java.lang.Object
  |
  +--org.eclipse.core.runtime.PlatformObject
        |
        +--org.eclipse.update.core.model.ModelObject
              |
              +--org.eclipse.update.core.model.ImportModel
All Implemented Interfaces:
IAdaptable
Direct Known Subclasses:
Import

public class ImportModel
extends ModelObject

Plug-in dependency model object.

This class may be instantiated or subclassed by clients. However, in most cases clients should instead instantiate or subclass the provided concrete implementation of this model.

Since:
2.0
See Also:
Import

Constructor Summary
ImportModel()
          Creates a uninitialized plug-in dependency model object.
 
Method Summary
 String getMatchingRuleName()
          Returns the dependent plug-in version matching rule name.
 String getPluginIdentifier()
          Returns the dependent plug-in identifier.
 String getPluginVersion()
          Returns the dependent plug-in version.
 void setMatchingRuleName(String matchingRuleName)
          Sets the dependent plug-in version matching rule name.
 void setPluginIdentifier(String pluginId)
          Sets the dependent plug-in identifier.
 void setPluginVersion(String pluginVersion)
          Sets the dependent plug-in version.
 
Methods inherited from class org.eclipse.update.core.model.ModelObject
arrayTypeFor, arrayTypeFor, assertIsWriteable, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolve, resolveListReference, resolveNLString, resolveReference, resolveURL
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportModel

public ImportModel()
Creates a uninitialized plug-in dependency model object.

Since:
2.0
Method Detail

getPluginIdentifier

public String getPluginIdentifier()
Returns the dependent plug-in identifier.

Returns:
plug-in identifier, or null.
Since:
2.0

getPluginVersion

public String getPluginVersion()
Returns the dependent plug-in version.

Returns:
plug-in version, or null.
Since:
2.0

getMatchingRuleName

public String getMatchingRuleName()
Returns the dependent plug-in version matching rule name.

Returns:
matching rule name, or null.
Since:
2.0

setPluginIdentifier

public void setPluginIdentifier(String pluginId)
Sets the dependent plug-in identifier. Throws a runtime exception if this object is marked read-only.

Parameters:
pluginId - dependent plug-in identifier
Since:
2.0

setPluginVersion

public void setPluginVersion(String pluginVersion)
Sets the dependent plug-in version. Throws a runtime exception if this object is marked read-only.

Parameters:
pluginVersion - dependent plug-in version
Since:
2.0

setMatchingRuleName

public void setMatchingRuleName(String matchingRuleName)
Sets the dependent plug-in version matching rule name. Throws a runtime exception if this object is marked read-only.

Parameters:
matchingRuleName - dependent plug-in version matching rule.
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.