FileDocCategorySizeDatePackage
UMLElementEnumeration.javaAPI DocExample1508Tue Dec 08 01:21:00 GMT 1998oisoft.togetherx.scriptapi.UML.enums

UMLElementEnumeration

public class UMLElementEnumeration extends Object implements Enumeration
Implemented typified enumeration for UMLElement
version
2.1.01 Thu Apr 02 19:15:21 1998
author
Andrei Ivanov

Fields Summary
protected Enumeration
imp
Constructors Summary
public UMLElementEnumeration(Enumeration e)

    imp = e;
  
Methods Summary
public voidaccept_to_all(oisoft.togetherx.scriptapi.UML.UMLVisitor v)

    if (imp != null) {
      while (imp.hasMoreElements()) {
        UMLElement element = (UMLElement) imp.nextElement();
        element.accept(v);
      }
    }
  
public oisoft.togetherx.scriptapi.UML.UMLElementgetNextUMLElement()

    if (imp != null)
      return (UMLElement) imp.nextElement();
    else
      return null;
  
public booleanhasMoreElements()

    if (imp != null)
      return imp.hasMoreElements();
    else
      return false;
  
public java.lang.ObjectnextElement()

    if (imp != null)
      return imp.nextElement();
    else
      return null;