public abstract class ContentEntryModel extends ModelObject
This class must 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.
PluginEntryModel
,
NonPluginEntryModel
Modifier and Type | Field and Description |
---|---|
static long |
UNKNOWN_SIZE
An indication the size could not be determined
|
Modifier | Constructor and Description |
---|---|
protected |
ContentEntryModel()
Creates a uninitialized content entry model object.
|
Modifier and Type | Method and Description |
---|---|
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 |
getOSArch()
Returns optional system architecture 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.
|
arrayTypeFor, arrayTypeFor, assertIsWriteable, getPropertyName, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolve, resolveListReference, resolveNLString, resolveReference, resolveURL
getAdapter
public static final long UNKNOWN_SIZE
protected ContentEntryModel()
public long getDownloadSize()
public long getInstallSize()
public String getOS()
null
.public String getWS()
null
.public String getOSArch()
null
.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.public void setWS(String ws)
ws
- comma-separated list of WS identifiers as defined by Eclipse.public void setArch(String arch)
arch
- comma-separated list of arch identifiers as defined by Eclipse.public void setNL(String nl)
nl
- comma-separated list of locale identifiers.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.