/** * * A UMLNameTypePair is a diagram-subelement that represents a class attribute, * a class aggregate, an operation parameter, or an operation input/output. As * an attribute, it is rendered as a colon-separated pair in the second part of * a UMLClass. As a parameter, it is also rendered as a colon-separated pair, * within the textural signature of an operation, in the third part of a * UMLClass. *
* As a class aggregate, it is rendered as a separate UMLClass element, * connected to its compositional parent with a strong or weak aggregation * connector. As an operation input/output, it is a labeled directed edge in * to or out from the operation oval. */ public class UMLNameTypePair { /** * The optional name of this component. */ protected String name; /** * The class name or primitive type name that represents the type of this * componnent. */ protected UMLClass type; /** * The optional public, private, or protected visibility of this * compoonent. This information is rendered for class attributes and * operations that are shown, respectively, in the second and third part * of a class rectangle. */ protected UMLVisibility visibility; }