|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PhysicalDevice
represents a physical device stored in the wireless device repository.
Field Summary |
Fields inherited from interface oracle.panama.model.ModelObject |
TYPEID |
Method Summary | |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, boolean value) Add the delivery context attribute with the given name. |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, java.lang.String value) Add the delivery context attribute with the given name. |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, java.lang.String[] vals) Add the delivery context attribute with the given name. |
void |
addDynamicAttribute(java.lang.String name, java.lang.String value) Add a new DynamicAttribute |
void |
addMeta(java.lang.String name, java.lang.String value) Add a new meta |
void |
addProperty(java.lang.String name, java.lang.String value) Add a new property |
void |
addTransformer(Transformer transformer) Add a transformer |
java.util.HashMap |
getAllDynamicAttributes() Returns all DynamicAttribute of this object as a name value pair. |
DeliveryContextAttribute[] |
getAttributes() Get all the delivery context attribute for the physical device. |
int |
getBitsPerPixel() Gets the number of bits per pixel for this device |
DeliveryContextAttribute |
getDeliveryContextAttribute(java.lang.String name) Get the delivery context attribute with the given name. |
java.lang.String |
getDescription() Returns the description for the device. |
java.lang.String |
getDynamicAttribute(java.lang.String name) Returns the value of a named DynamicAttribute or null if the DynamicAttribute does not exist |
long |
getHeapSize() Get the heap size in kilobytes. |
java.lang.String |
getManufacturer() Get the manufacturer of the physical device. |
long |
getMaxDownloadSize() Get the maximum download size. |
java.lang.String |
getMeta(java.lang.String name) Returns the value of a named meta or null if the meta does not exist |
java.util.HashMap |
getMetas() Returns all Metas of this object as a name value pair. |
java.lang.String |
getMimeType() Returns the mime type that specifies the markup language the device supports. |
java.lang.String |
getModel() Get the model of the physical device. |
java.lang.String |
getName() Gets the name of the physical device |
java.lang.String |
getProfile() Get the profile string. |
java.lang.String |
getProlog() Return the prolog for the device. |
java.util.HashMap |
getProperties() Returns all Properties of this object as a name value pair. |
java.lang.String |
getProperty(java.lang.String name) Returns the value of a named property or null if the property does not exist |
java.lang.String |
getProvisionProtocol() Get the provisioning protocol. |
int |
getScreenCols() Gets the number of characters per row for this Device. |
int |
getScreenHeight() Gets the screen height in pixels for this Device. |
int |
getScreenRows() Gets the number of character rows for this Device. |
int |
getScreenWidth() Gets the screen width in points for this Device. |
int |
getSoftKeys() Gets the number of "soft" keys for this Device. |
Transformer[] |
getTransformers() Get the transformers |
VideoMode |
getVideoMode() Gets the video mode property value |
java.lang.String |
getVM() Retrieves the VM information. |
boolean |
isColorCapable() Is the device color capable? |
boolean |
isImageCapable() Is the device image capable? |
boolean |
isJavaCapable() Returns whether the physical device is java-capable. |
boolean |
isVideoCapable() Is the device Video Capable? |
boolean |
isVoiceCapable() Is the device voice capable? |
void |
removeDeliveryContextAttribute(java.lang.String name) Remove an attribute from a physical device. |
void |
removeDynamicAttribute(java.lang.String name) Remove a DynamicAttribute |
void |
removeMeta(java.lang.String name) Remove a meta |
void |
removeProperty(java.lang.String name) Remove a property |
void |
removeTransformer(Transformer transformer) Remove a transformer |
void |
setBitsPerPixel(int bitsPerPixel) Sets the number of bits per pixel for this device |
void |
setColorCapable(boolean colorCapable) Sets the colorCapable property value |
void |
setDescription(java.lang.String description) Set the description for the device. |
void |
setHeapSize(long size) Set the heap size in kilobytes. |
void |
setImageCapable(boolean imageCapable) Sets the imageCapable propery value |
void |
setJavaCapable(boolean javaCapable) Set whether the physical device is java-capable. |
void |
setManufacturer(java.lang.String manufacturer) Set the manufacturer for the physical device. |
void |
setMaxDownloadSize(long maxDownloadSize) Set the maximum download size. |
void |
setMediaType(java.lang.String mediaType) Sets the media type property value |
void |
setMimeType(java.lang.String mimeType) Set the mime type that specifies the markup language the device supports. |
void |
setModel(java.lang.String model) Set the model for the physical device. |
void |
setName(java.lang.String name) Sets the name of the physical device. |
void |
setProfile(java.lang.String profile) Sets the profile string. |
void |
setProlog(java.lang.String prolog) Set the prolog for the device. |
void |
setProvisionProtocol(java.lang.String protocol) Set the provisioning protocol. |
void |
setScreenCols(int cols) Sets the number of characters per row for this Device. |
void |
setScreenHeight(int height) Sets the screen height in pixels for this Device. |
void |
setScreenRows(int rows) Sets the number of character rows for this Device. |
void |
setScreenWidth(int width) Sets the screen width in points for this Device. |
void |
setSoftKeys(int softKeys) Sets the number of "soft" keys for this Device. |
void |
setUserAgents(java.lang.String[] userAgents) Sets User Agent Strings which will be used to detect the device |
void |
setVideoCapable(boolean videoCapable) Sets the videoCapable property value |
void |
setVideoMode(VideoMode videoMode) Sets the video mode property value |
void |
setVM(java.lang.String vm) Sets the VM Information. |
void |
setVoiceCapable(boolean voiceCapable) Sets the voiceCapable property value |
void |
setXMLErrorPage(org.w3c.dom.Element errorPage) Sets the errorPage property value. |
void |
setXMLLoginPage(org.w3c.dom.Element loginPage) Sets the loginPage property value. |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Methods inherited from interface oracle.panama.core.device.DeviceV2Peer |
addASREngine, addDeviceGroup, addTTSEngine, delete, findTransformer, getASREngines, getDefaultTransformer, getDeviceGroups, getDeviceV2, getErrorPage, getId, getLoginPage, getMediaType, getSupportedLanguageVersions, getTransformer, getTTSEngines, getUserAgents, getXMLErrorPage, getXMLLoginPage, removeASREngine, removeDeviceGroup, removeTTSEngine |
Method Detail |
public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, boolean value)
name
- The name for the attribute.value
- The value for the attribute.public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, java.lang.String value)
name
- The name for the attribute.value
- The value for the attribute.public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, java.lang.String[] vals)
addDeliveryContextAttribute
in interface oracle.panama.core.device.DeviceV2Peer
name
- The name for the attribute.vals
- The LOV for the attribute.public void addDynamicAttribute(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
addDynamicAttribute
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the DynamicAttributevalue
- the value of the DynamicAttributejava.lang.IllegalArgumentException
- if either the name of the value are null
public void addMeta(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
addMeta
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the metavalue
- the value of the metajava.lang.IllegalArgumentException
- if either the name of the value are null
public void addProperty(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
addProperty
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the propertyvalue
- the value of the propertyjava.lang.IllegalArgumentException
- if either the name of the value are null
public void addTransformer(Transformer transformer)
transformer
- the transformer to addpublic java.util.HashMap getAllDynamicAttributes()
getAllDynamicAttributes
in interface oracle.panama.core.device.DeviceV2Peer
public DeliveryContextAttribute[] getAttributes()
public int getBitsPerPixel()
setBitsPerPixel(int)
public DeliveryContextAttribute getDeliveryContextAttribute(java.lang.String name)
getDeliveryContextAttribute
in interface AttributeQueriable
name
- The name of the attribute, You should only use the constants defined inside DeliveryContextAttributeNames interface.public java.lang.String getDescription()
getDescription
in interface oracle.panama.core.device.DeviceV2Peer
public java.lang.String getDynamicAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
null
if the DynamicAttribute does not existgetDynamicAttribute
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the DynamicAttributenull
if the DynamicAttribute does not existjava.lang.IllegalArgumentException
- if either the name of the value are null
public long getHeapSize()
public java.lang.String getManufacturer()
public long getMaxDownloadSize()
public java.lang.String getMeta(java.lang.String name) throws java.lang.IllegalArgumentException
null
if the meta does not existgetMeta
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the metanull
if the meta does not existjava.lang.IllegalArgumentException
- if either the name of the value are null
public java.util.HashMap getMetas()
getMetas
in interface oracle.panama.core.device.DeviceV2Peer
public java.lang.String getMimeType()
public java.lang.String getModel()
public java.lang.String getName()
getName
in interface ModelObject
public java.lang.String getProfile()
public java.lang.String getProlog()
public java.util.HashMap getProperties()
getProperties
in interface oracle.panama.core.device.DeviceV2Peer
public java.lang.String getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
null
if the property does not existgetProperty
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the propertynull
if the property does not existjava.lang.IllegalArgumentException
- if either the name of the value are null
public java.lang.String getProvisionProtocol()
public int getScreenCols()
setScreenCols(int)
public int getScreenHeight()
setScreenHeight(int)
public int getScreenRows()
setScreenRows(int)
public int getScreenWidth()
setScreenWidth(int)
public int getSoftKeys()
setScreenCols(int)
public Transformer[] getTransformers()
public VideoMode getVideoMode()
public java.lang.String getVM()
public boolean isColorCapable()
setColorCapable(boolean)
public boolean isImageCapable()
setImageCapable(boolean)
public boolean isJavaCapable()
public boolean isVideoCapable()
setVideoCapable(boolean)
public boolean isVoiceCapable()
setVoiceCapable(boolean)
public void removeDeliveryContextAttribute(java.lang.String name)
name
- the name of the attribute to be removed. It's an no-op if the attribute can not be found.public void removeDynamicAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
removeDynamicAttribute
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the DynamicAttributejava.lang.IllegalArgumentException
- if either the name of the value are null
public void removeMeta(java.lang.String name) throws java.lang.IllegalArgumentException
removeMeta
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the metajava.lang.IllegalArgumentException
- if either the name of the value are null
public void removeProperty(java.lang.String name) throws java.lang.IllegalArgumentException
removeProperty
in interface oracle.panama.core.device.DeviceV2Peer
name
- the name of the propertyjava.lang.IllegalArgumentException
- if either the name of the value are null
public void removeTransformer(Transformer transformer)
transformer
- the transformer to removepublic void setBitsPerPixel(int bitsPerPixel)
bitsPerPixel
- the new bits per pixel for this devicegetBitsPerPixel()
public void setColorCapable(boolean colorCapable)
colorCapable
- the new property valueisColorCapable()
public void setDescription(java.lang.String description)
description
- The description for the device.public void setHeapSize(long size)
size
- heap size in kilobytespublic void setImageCapable(boolean imageCapable)
imageCapable
- the new value for the propertyisImageCapable()
public void setJavaCapable(boolean javaCapable)
javaCapable
- if device capable of running java applicationpublic void setManufacturer(java.lang.String manufacturer)
manufacturer
- manufacturer of the physical devicepublic void setMaxDownloadSize(long maxDownloadSize)
maxDownloadSize
- maximum download size in kilobytes.public void setMediaType(java.lang.String mediaType)
mediaType
- the new property valueDeviceV2Peer.getMediaType()
public void setMimeType(java.lang.String mimeType)
public void setModel(java.lang.String model)
model
- of the physical device.public void setName(java.lang.String name)
setName
in interface ModelObject
name
- The name of the physical devicepublic void setProfile(java.lang.String profile)
profile
- profilepublic void setProlog(java.lang.String prolog)
prolog
- The prolog for the device.public void setProvisionProtocol(java.lang.String protocol)
protocol
- provision protocol.public void setScreenCols(int cols)
cols
- The new number of characters per row for this DevicegetScreenCols()
public void setScreenHeight(int height)
height
- The new screen height for this DevicegetScreenHeight()
public void setScreenRows(int rows)
rows
- The new number of rows for this DevicegetScreenRows()
public void setScreenWidth(int width)
width
- The new screen width for this DevicegetScreenWidth()
public void setSoftKeys(int softKeys)
softKeys
- The new number of "soft" keys for this DevicesetSoftKeys(int)
public void setUserAgents(java.lang.String[] userAgents)
userAgents
- array of user agent stringspublic void setVideoCapable(boolean videoCapable)
videoCapable
- the new property valueisVideoCapable()
public void setVideoMode(VideoMode videoMode)
videoMode
- the new property valuepublic void setVM(java.lang.String vm)
vm
- vm information string, such as CLDCpublic void setVoiceCapable(boolean voiceCapable)
voiceCapable
- the new property valueisVoiceCapable()
public void setXMLErrorPage(org.w3c.dom.Element errorPage)
errorPage
- The new value for the property.DeviceV2Peer.getXMLErrorPage()
public void setXMLLoginPage(org.w3c.dom.Element loginPage)
loginPage
- The new value for the property.DeviceV2Peer.getXMLLoginPage()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |