|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.PlatformObject | +--org.eclipse.update.core.model.ModelObject | +--org.eclipse.update.core.model.ContentEntryModel | +--org.eclipse.update.core.model.PluginEntryModel
Plug-in entry 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.
PluginEntry
Field Summary |
Fields inherited from class org.eclipse.update.core.model.ContentEntryModel |
UNKNOWN_SIZE |
Constructor Summary | |
PluginEntryModel()
Creates a uninitialized plug-in entry model object. |
Method Summary | |
boolean |
equals(Object obj)
Compares two plug-in models for equality |
String |
getPluginIdentifier()
Returns the plug-in identifier for this entry. |
String |
getPluginVersion()
Returns the plug-in version for this entry. |
boolean |
isFragment()
Indicates whether the entry describes a full plug-in, or a plug-in fragment. |
void |
isFragment(boolean isFragment)
Indicates whether this entry represents a fragment or plug-in. |
void |
setPluginIdentifier(String pluginId)
Sets the entry plug-in identifier. |
void |
setPluginVersion(String pluginVersion)
Sets the entry plug-in version. |
String |
toString()
|
Methods inherited from class org.eclipse.update.core.model.ContentEntryModel |
getArch, getDownloadSize, getInstallSize, getNL, getOS, getWS, setArch, setDownloadSize, setInstallSize, setNL, setOS, setWS |
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PluginEntryModel()
Method Detail |
public boolean equals(Object obj)
equals
in class Object
obj
- other model to compare to
true
if the models are equal, false
otherwisepublic String getPluginIdentifier()
null
public String getPluginVersion()
null
public boolean isFragment()
true
if the entry is a plug-in fragment,
false
if the entry is a plug-inpublic void setPluginIdentifier(String pluginId)
pluginId
- the entry identifier.public void setPluginVersion(String pluginVersion)
pluginVersion
- the entry version.public void isFragment(boolean isFragment)
isFragment
- fragment settingpublic String toString()
toString
in class Object
Object.toString()
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |