Mobile Tools for Java
Release 1.0

org.eclipse.mtj.toolkit.uei.model.properties
Enum DevicesProperties

java.lang.Object
  extended by java.lang.Enum<DevicesProperties>
      extended by org.eclipse.mtj.toolkit.uei.model.properties.DevicesProperties
All Implemented Interfaces:
Serializable, Comparable<DevicesProperties>

public enum DevicesProperties
extends Enum<DevicesProperties>

When the emulator runs with the -Xquery option, information describing the emulator and its capabilities are sent to standard output. The general format is that of a properties file.

The properties describing common information for all devices are represented by this enum.

Since:
0.9.1

Enum Constant Summary
DEVICE_LIST
          Property Key: device.list
Value: Comma-separated list of device names.
SECURITY_DOMAINS
          Property Key: security.domains
Value: Comma-separated list of security domains supported by the emulator.
UEI_ARGUMENTS
          Property Key: uei.arguments
Value: List of the UEI arguments supported by all devices.
UEI_VERSION
          Property Key: uei.version
Value: The version of the UEI specification supported by this emulator.
 
Method Summary
 UEIImplementationReq getImplementationRequirement()
          Return the implementation requirement for this property.
 String toString()
           
static DevicesProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DevicesProperties[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEVICE_LIST

public static final DevicesProperties DEVICE_LIST
Property Key: device.list
Value: Comma-separated list of device names. Even if an emulator supports only one device, this property must still be produced.


UEI_ARGUMENTS

public static final DevicesProperties UEI_ARGUMENTS
Property Key: uei.arguments
Value: List of the UEI arguments supported by all devices.


UEI_VERSION

public static final DevicesProperties UEI_VERSION
Property Key: uei.version
Value: The version of the UEI specification supported by this emulator. The value must be either 1.0 or 1.0.1 . If this property is not specified, its value is 1.0.


SECURITY_DOMAINS

public static final DevicesProperties SECURITY_DOMAINS
Property Key: security.domains
Value: Comma-separated list of security domains supported by the emulator.

Method Detail

values

public static final DevicesProperties[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DevicesProperties c : DevicesProperties.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DevicesProperties valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

getImplementationRequirement

public UEIImplementationReq getImplementationRequirement()
Return the implementation requirement for this property.

Returns:
UEIImplementationReq.REQUIRED if this property must be implemented or UEIImplementationReq.OPTIONAL if not.

toString

public String toString()
Overrides:
toString in class Enum<DevicesProperties>

Mobile Tools for Java
Release 1.0