import java.util.*; /**** * * A UMLOperation represents a operation element in a diagram. In a display, * it is rendered as a textual signature or geometric shape. It is a textual * signature in the third part of a class rectangle. As a geometric shape, it * is rendered as an oval, per the rules of the standard dataflow diagram * notation. * <p> * Specifically, inputs and outputs are shown in the form of a dataflow * diagram. I.e., inputs are shown on the left side of the oval, with ingoing * directed edges. Outputs are shown on the right side of the oval, with * outgoing directed edges. The type name of the inputs and outputs are shown * on the outer end of the edge. The parameter name of the inputs and outputs * (if present) are shown centered along the edge, rotated to the same angle as * the edge. * * Whether the operation shape is an oval or rounded rectangle is */ public class UMLOperation extends UMLDiagramElement { /** * Operation inputs. */ protected List<UMLNameTypePair> inputs; /** * Operation inputs. */ protected List<UMLNameTypePair> outputs; }