Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.sdk.device
Interface IManagedDevice

All Superinterfaces:
IDevice, IPersistable

public interface IManagedDevice
extends IDevice

IManagedDevice is an IDevice offered by an ISDKProvider and contained within a ManagedSDK. Such a device typically extends AbstractMIDPDevice and implements IManagedDevice.


Field Summary
 
Fields inherited from interface org.eclipse.mtj.core.persistence.IPersistable
CLASS_PERSISTABLE_ATTRIBUTE, ID_PERSISTABLE_ATTRIBUTE, KEY_PERSISTABLE_ATTRIBUTE, PROPERTY_PERSISTABLE_ELEMENT, REFID_PERSISTABLE_ATTRIBUTE, VALUE_PERSISTABLE_ATTRIBUTE
 
Method Summary
 boolean isDuplicate()
          Determine if this device is a duplicate of a previously provided device.
 void setAsDuplicate()
          This method should be called exclusively by a ManagedSDK to mark a device as a duplicate.
 
Methods inherited from interface org.eclipse.mtj.core.sdk.device.IDevice
getClasspath, getDescription, getIdentifier, getLaunchCommand, getName, getSDK, getSDKName, getSymbolSet, isDebugServer, setName
 
Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable
loadUsing, storeUsing
 

Method Detail

setAsDuplicate

void setAsDuplicate()
This method should be called exclusively by a ManagedSDK to mark a device as a duplicate. When a user duplicates an IManaged device, the ManagedSDK will be asked to create and return the duplicate to the Device Manager.


isDuplicate

boolean isDuplicate()
Determine if this device is a duplicate of a previously provided device. For devices provided by an ISDKProvider, duplicate devices may be deleted whereas originals may not be.

Returns:
True if this device is a duplicate, otherwise false.

Mobile Tools for Java
Release 1.0