org.eclipse.emf.ocl.helper
Class ConstraintType

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

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

An enumeration of OCL constraint types, primarily for determining the appropriate choices for syntax completion.

See Also:
IOCLHelper.getSyntaxHelp(ConstraintType, String)

Field Summary
static ConstraintType BODYCONDITION
          Indicates an enumeration literal completion choice.
static ConstraintType INVARIANT
          Indicates a semantically uncategorized completion choice.
static ConstraintType POSTCONDITION
          Indicates a behavioral feature (e.g., operation) completion choice.
static ConstraintType PRECONDITION
          Indicates a structural feature (e.g., attribute) 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

INVARIANT

public static final ConstraintType INVARIANT
Indicates a semantically uncategorized completion choice.


PRECONDITION

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


BODYCONDITION

public static final ConstraintType BODYCONDITION
Indicates an enumeration literal completion choice.


POSTCONDITION

public static final ConstraintType POSTCONDITION
Indicates a behavioral feature (e.g., operation) 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.