|
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
Content entry model object. This is the base class for plug-in and non-plug-in entry models.
This class must be subclassed by clients.
PluginEntryModel
,
NonPluginEntryModel
Field Summary | |
static long |
UNKNOWN_SIZE
An indication the size could not be determined |
Constructor Summary | |
protected |
ContentEntryModel()
Creates a uninitialized content entry model object. |
Method Summary | |
String |
getArch()
Returns optional system architecture specification. |
long |
getDownloadSize()
Returns the download size of the entry, if it can be determined. |
long |
getInstallSize()
Returns the install size of the entry, if it can be determined. |
String |
getNL()
Returns optional locale specification. |
String |
getOS()
Returns optional operating system specification. |
String |
getWS()
Returns optional windowing system specification. |
void |
setArch(String arch)
Sets the system architecture specification. |
void |
setDownloadSize(long downloadSize)
Sets the download size of the entry. |
void |
setInstallSize(long installSize)
Sets the install size of the entry. |
void |
setNL(String nl)
Sets the locale specification. |
void |
setOS(String os)
Sets the operating system specification. |
void |
setWS(String ws)
Sets the windowing system specification. |
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 |
Field Detail |
public static final long UNKNOWN_SIZE
Constructor Detail |
protected ContentEntryModel()
Method Detail |
public long getDownloadSize()
public long getInstallSize()
public String getOS()
null
.BootLoader
public String getWS()
null
.BootLoader
public String getArch()
null
.BootLoader
public String getNL()
null
.public void setDownloadSize(long downloadSize)
downloadSize
- download size of the entry in KiloBytespublic void setInstallSize(long installSize)
installSize
- install size of the entry in KiloBytespublic void setOS(String os)
os
- comma-separated list of OS identifiers as defined by Eclipse.BootLoader
public void setWS(String ws)
ws
- comma-separated list of WS identifiers as defined by Eclipse.BootLoader
public void setArch(String arch)
arch
- comma-separated list of arch identifiers as defined by Eclipse.BootLoader
public void setNL(String nl)
nl
- comma-separated list of locale identifiers.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |