com.free2be.dimensions.device.simple
Class SimpleHardware
java.lang.Object
com.free2be.dimensions.device.simple.SimpleDeviceComponent
com.free2be.dimensions.device.simple.SimpleHardware
- All Implemented Interfaces:
- DeviceComponent, Hardware, java.io.Serializable
- Direct Known Subclasses:
- HardwareProfile
public class SimpleHardware
- extends SimpleDeviceComponent
- implements Hardware
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHardware
public SimpleHardware()
getVendor
public java.lang.String getVendor()
- Specified by:
getVendor
in interface Hardware
setVendor
public void setVendor(java.lang.String vendor)
getModel
public java.lang.String getModel()
- Description copied from interface:
Hardware
- The manufacturer's model name.
- Specified by:
getModel
in interface Hardware
setModel
public void setModel(java.lang.String model)
getPreferredType
public java.lang.String getPreferredType()
- Description copied from interface:
Hardware
- Describes in a general sense the type of device the caller is using. Enumerated at the top. This is the preferred type since some devices may represent
multiple types (such as a pda phone). The system should define an order of preferred types and each call may also prefer one type over another.
- Specified by:
getPreferredType
in interface Hardware
setPreferredType
public void setPreferredType(java.lang.String preferredType)
getScreenHeightInPixels
public java.lang.Integer getScreenHeightInPixels()
- Specified by:
getScreenHeightInPixels
in interface Hardware
setScreenHeightInPixels
public void setScreenHeightInPixels(java.lang.Integer screenHeightInPixels)
getScreenWidthInPixels
public java.lang.Integer getScreenWidthInPixels()
- Specified by:
getScreenWidthInPixels
in interface Hardware
setScreenWidthInPixels
public void setScreenWidthInPixels(java.lang.Integer screenWidthInPixels)
getColorCapable
public java.lang.Boolean getColorCapable()
setColorCapable
public void setColorCapable(java.lang.Boolean colorCapable)
getPropertyName
public java.lang.String getPropertyName()
- Description copied from class:
SimpleDeviceComponent
- Each implementation must return a xml representation (name) that best describes it.
- Specified by:
getPropertyName
in class SimpleDeviceComponent