org.eclipse.emf.ocl.helper
Class Choice

java.lang.Object
  extended byorg.eclipse.emf.ocl.helper.Choice

public class Choice
extends java.lang.Object

Representation of a particular OCL expression syntax completion suggestion. These suggestions are obtained from an IOCLHelper for a particular fragment of an OCL expression.

Note that this class is not intended to be extended nor instantiated by clients.

See Also:
IOCLHelper.getSyntaxHelp(String)

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Obtains my description, suitable for display in a UI tool tip or pop-up help window.
 ChoiceType getKind()
          Queries the kind of syntax completion suggestion that I am.
 java.lang.String getName()
          Obtains my name, suitable for display in a UI list.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Obtains my name, suitable for display in a UI list.

Returns:
my name

getDescription

public java.lang.String getDescription()
Obtains my description, suitable for display in a UI tool tip or pop-up help window.

Returns:
my description

getKind

public ChoiceType getKind()
Queries the kind of syntax completion suggestion that I am.

Returns:
my type

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()

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