/*----------------------------------------------------------------------------
Copyright (C) 1998 Object International Software GmbH
----------------------------------------------------------------------------*/
package oisoft.togetherx.scriptapi.UML.enums;
import java.util.Enumeration;
import oisoft.togetherx.scriptapi.UML.UMLProperty;
//------------------------------------------------------------------------------
/**
* Implemented typified enumeration for UMLLink
* @version 2.1.01 Thu Apr 02 19:15:21 1998
* @author Sergey Dmitriev
*/
public class UMLPropertyEnumeration implements Enumeration
{
public UMLPropertyEnumeration()
{
}
public UMLPropertyEnumeration(Enumeration e)
{
imp = e;
}
public UMLProperty getNextUMLProperty()
{
if (imp != null)
return (UMLProperty) imp.nextElement();
else
return null;
}
public Object nextElement()
{
if (imp != null)
return imp.nextElement();
else
return null;
}
public boolean hasMoreElements()
{
if (imp != null)
return imp.hasMoreElements();
else
return false;
}
protected Enumeration imp;
}
//------------------------------------------------------------------------------
|