public class DeviceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ATTRIB_KEY
ID of the databean in the response property.
|
int | colors
Number of colors the device can display.
|
java.lang.String | contentDirectory
Name of the directory where the contents for the device are located.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
java.lang.String | documentFormat
Format of documents the device can display.
|
java.lang.String | documentVersion
Version of the document format the device can display.
|
int | height
Height of the display the device has
|
java.lang.String | imageFormat
Format of images the device can display
|
boolean | isMonochrome
Flag indicates that the device has monochrome display or not
|
int | maxContentLength
Maximum length of contents the device can receive.
|
int | maxUrlLength
Maximum length of URL the device can access.
|
java.lang.String | model
Model name of the device.
|
java.lang.String | modelDescription
Description of the device model.
|
java.lang.String | pvcSessionId
Reference number of the session record in PVCSESSION used to identify the device.
|
java.lang.String | pvcSessionType
Name of the PVC adapter usered for the device.
|
java.lang.String | soundFormat
The format of sound file the device can play.
|
java.lang.String | spec
Name of the specification of the device which is recorded in PVCDEVSPEC table.
|
java.lang.String | specDescription
Description of the device specification in PVCDEVSPEC table.
|
java.lang.String | vendor
Vendor name of the device.
|
int | width
Width of the display the device has.
|
Constructor and Description |
---|
DeviceInfo(PVCAdapter pvcAdapter)
Constructs a DeviceInfo object.
|
Modifier and Type | Method and Description |
---|---|
int | getColors()
Returns number of colors that the client's device can display.
|
java.lang.String | getContentDirectory()
Returns name of the directory where the documents for the client's device are located.
|
java.lang.String | getDocumentFormat()
Returns document format supported by the client's device.
|
java.lang.String | getDocumentVersion()
Returns document version supported by the client's device.
|
int | getHeight()
Returns height of display the client's device has.
|
java.lang.String | getImageFormat()
Returns image format supported by the client's device.
|
int | getMaxContentLength()
Returns maximum content length supported by the client's device.
|
int | getMaxUrlLength()
Returns maximum URL length supported by the client's device.
|
java.lang.String | getModel()
Returns model name of the client's device.
|
java.lang.String | getModelDescription()
Returns description of the client's device model.
|
java.lang.String | getPvcSessionId()
Returns reference number of the session information stored in PVCSESSION table.
|
java.lang.String | getPvcSessionType()
Returns the type of the session which is stored as SESSIONTYPE in the PVCSESSION table.
|
java.lang.String | getSoundFormat()
Returns supported type of sound file.
|
java.lang.String | getSpec()
Returns name of the device specification which is defined in PVCDEVSPEC table
|
java.lang.String | getSpecDescription()
Returns description of the device specification which is defined in PVCDEVSPEC table
|
java.lang.String | getVendor()
Returns vendor name of the device
|
int | getWidth()
Returns width of display the client's device has.
|
boolean | isIsMonochrome()
Returns whether client's display is monochrome
|
void | setColors(int newColors)
Sets number of colors to the data bean.
|
void | setContentDirectory(java.lang.String newContentDirectory)
Sets content directory to the data bean.
|
void | setDocumentFormat(java.lang.String newDocumentFormat)
Sets supported document format to the data bean.
|
void | setDocumentVersion(java.lang.String newDocumentVersion)
Sets supported version of document format to the data bean.
|
void | setHeight(int newHeight)
Sets height of the clients display to the data bean.
|
void | setImageFormat(java.lang.String newImageFormat)
Sets supported image format to the data bean.
|
void | setIsMonochrome(boolean newIsMonochrome)
Sets monochrome flag to the data bean.
|
void | setMaxContentLength(int newMaxContentLength)
Sets maximum content length to the data bean.
|
void | setMaxUrlLength(int newMaxUrlLength)
Sets maximum URL length to the data bean.
|
void | setModel(java.lang.String newModel)
Sets model name to the data bean.
|
void | setModelDescription(java.lang.String newModelDescription)
Sets description of the client's device model to the data bean.
|
void | setPvcSessionId(java.lang.String newPvcSessionId)
Sets reference number to the client's session recored in PVCSESSION table.
|
void | setPvcSessionType(java.lang.String newPvcSessionType)
Sets type of the client's session stored in PVCSESSION table.
|
void | setSoundFormat(java.lang.String newSoundFormat)
Sets supported sound format to the data bean.
|
void | setSpec(java.lang.String newSpec)
Sets definition name of the device specification the data bean.
|
void | setSpecDescription(java.lang.String newSpecDescription)
Sets description of the device specification to the data bean.
|
void | setVendor(java.lang.String newVendor)
Sets vendor name of the device to the data bean.
|
void | setWidth(int newWidth)
Sets width of the display to the data bean.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ATTRIB_KEY
public java.lang.String pvcSessionId
public java.lang.String pvcSessionType
public java.lang.String model
public java.lang.String spec
public int maxContentLength
public int maxUrlLength
public int width
public int height
public int colors
public boolean isMonochrome
public java.lang.String imageFormat
public java.lang.String soundFormat
public java.lang.String documentFormat
public java.lang.String documentVersion
public java.lang.String contentDirectory
public java.lang.String vendor
public java.lang.String specDescription
public java.lang.String modelDescription
public DeviceInfo(PVCAdapter pvcAdapter)
public int getColors()
public java.lang.String getContentDirectory()
public java.lang.String getDocumentFormat()
public java.lang.String getDocumentVersion()
public int getHeight()
public java.lang.String getImageFormat()
public int getMaxContentLength()
public int getMaxUrlLength()
public java.lang.String getModel()
public java.lang.String getModelDescription()
public java.lang.String getPvcSessionId()
public java.lang.String getPvcSessionType()
public java.lang.String getSoundFormat()
public java.lang.String getSpec()
public java.lang.String getSpecDescription()
public java.lang.String getVendor()
public int getWidth()
public boolean isIsMonochrome()
public void setColors(int newColors)
public void setContentDirectory(java.lang.String newContentDirectory)
public void setDocumentFormat(java.lang.String newDocumentFormat)
public void setDocumentVersion(java.lang.String newDocumentVersion)
public void setHeight(int newHeight)
public void setImageFormat(java.lang.String newImageFormat)
public void setIsMonochrome(boolean newIsMonochrome)
public void setMaxContentLength(int newMaxContentLength)
public void setMaxUrlLength(int newMaxUrlLength)
public void setModel(java.lang.String newModel)
public void setModelDescription(java.lang.String newModelDescription)
public void setPvcSessionId(java.lang.String newPvcSessionId)
public void setPvcSessionType(java.lang.String newPvcSessionType)
public void setSoundFormat(java.lang.String newSoundFormat)
public void setSpec(java.lang.String newSpec)
public void setSpecDescription(java.lang.String newSpecDescription)
public void setVendor(java.lang.String newVendor)
public void setWidth(int newWidth)