Mobile Tools for Java
Release 1.0

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

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

public enum UEIImplementationReq
extends Enum<UEIImplementationReq>

This enum represents when a feature must be implemented or not.

Since:
0.9.1

Enum Constant Summary
OPTIONAL
          Means that the feature is not required to be implemented.
REQUIRED
          Means that the feature must be implemented.
 
Method Summary
static UEIImplementationReq valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UEIImplementationReq[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUIRED

public static final UEIImplementationReq REQUIRED
Means that the feature must be implemented.


OPTIONAL

public static final UEIImplementationReq OPTIONAL
Means that the feature is not required to be implemented. However, if it is implemented, the implementation must fully meet the specification of the feature.

Method Detail

values

public static final UEIImplementationReq[] 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(UEIImplementationReq c : UEIImplementationReq.values())
        System.out.println(c);

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

valueOf

public static UEIImplementationReq 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

Mobile Tools for Java
Release 1.0