FileDocCategorySizeDatePackage
UMLGeneralizableElement.javaAPI DocExample1564Tue Dec 08 01:21:00 GMT 1998oisoft.togetherx.scriptapi.UML

UMLGeneralizableElement.java

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

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

//------------------------------------------------------------------------------
/**
 * Interface of elements that can participate in generalization link.
 * @version  2.1.01  12.03.1998
 * @author  	Andrei Ivanov                  
 */
public interface UMLGeneralizableElement extends UMLNode
{
  /** Getting generalization links (incoming?) of this 
   * generalizable element. 
   * @return Generalization link enumerator of gen links.
   */
  UMLGeneralizationEnumeration getGeneralizations();
  /** Getting specialization links (outgoing?) of this 
   * generalizable element. 
   * @return Generalization link enumerator of spec links.
   */
  UMLGeneralizationEnumeration getSpecializations();	  
  /**  
   * @deprecated Not implemented yet.
   */
  UMLGeneralizationEnumeration getAllGeneralizations();
  /** 
   * @deprecated Nice to have with very low priority.
   */ 
  UMLGeneralizationEnumeration getAllSpecializations();
  /** Indicates whether the element is final and can not be
   * specialized with generalization links.
   * @return true - if final (e.g. class).
   */ 
  boolean   isFinal();

}
//------------------------------------------------------------------------------