FileDocCategorySizeDatePackage
UMLOperation.javaAPI DocExample1382Tue Dec 08 01:21:00 GMT 1998oisoft.togetherx.scriptapi.UML

UMLOperation.java

/*----------------------------------------------------------------------------
Copyright © 1998 Object International Software GmbH
----------------------------------------------------------------------------*/
package oisoft.togetherx.scriptapi.UML;

import oisoft.togetherx.scriptapi.UML.enums.*;

//------------------------------------------------------------------------------
/**
* Presents operations of a class.
*
* If isConst() (inherited from UMLMember) returns
* "true" then this operation is "query" in UML terms.
*
* @version  2.1.01  12.03.1998
* @author   Andrei Ivanov
*/
public interface UMLOperation extends UMLMember
{

  public static final String  SEQUENTIAL = "sequential";
  public static final String  GUARDED    = "guarded";
  public static final String  CONCURRENT = "concurrent";

  String getParameterList();
  UMLParameterEnumeration getParameters();
  /**
   * @deprecated Not implemented yet.
   */
  String getConcurrency();
  UMLStringEnumeration getBody();
  UMLClassifierEnumeration getThrownExceptions();

  /** If operation is abstract, this method returns
    *  "true" and <i>getBody()</i> return null.
    * @see UMLOperation#getBody
    */
  boolean isAbstract();

  boolean isVirtual();
}
//------------------------------------------------------------------------------