org.eclipse.emf.ocl.helper
Class ChoiceType

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.emf.ocl.helper.ChoiceType
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public class ChoiceType
extends org.eclipse.emf.common.util.AbstractEnumerator

An enumeration of OCL syntax completion choice types.

See Also:
Choice, IOCLHelper.getSyntaxHelp(String)

Field Summary
static ChoiceType BEHAVIORAL_FEATURE
          Indicates a behavioral feature (e.g., operation) completion choice.
static ChoiceType ENUMERATION_LITERAL
          Indicates an enumeration literal completion choice.
static ChoiceType STRUCTURAL_FEATURE
          Indicates a structural feature (e.g., attribute) completion choice.
static ChoiceType UNCATEGORIZED
          Indicates a semantically uncategorized completion choice.
static ChoiceType VARIABLE
          Indicates a variable name completion choice.
 
Method Summary
static java.util.List getValues()
          Retrieves the list of values of this enumerated type.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCATEGORIZED

public static final ChoiceType UNCATEGORIZED
Indicates a semantically uncategorized completion choice.


STRUCTURAL_FEATURE

public static final ChoiceType STRUCTURAL_FEATURE
Indicates a structural feature (e.g., attribute) completion choice.


BEHAVIORAL_FEATURE

public static final ChoiceType BEHAVIORAL_FEATURE
Indicates a behavioral feature (e.g., operation) completion choice.


ENUMERATION_LITERAL

public static final ChoiceType ENUMERATION_LITERAL
Indicates an enumeration literal completion choice.


VARIABLE

public static final ChoiceType VARIABLE
Indicates a variable name completion choice.

Method Detail

getValues

public static java.util.List getValues()
Retrieves the list of values of this enumerated type.

Returns:
The list of values of this enumerated type.

Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.