Gallery Tutorial TRAIL: Webel's ultimate guide to Systems Modeling Language (v1) with MagicDraw/Cameo Section 01:02: UML 101 for model-based systems engineering with SysML Tags and keywords Topic level ADVANCED UML keywords metaclass Profile Diagram ValueSpecification LiteralSpecification Expression InstanceValue MD:ElementValue OpaqueExpression Interval TimeExpression Keywords UML UML-2.5.1 Unified Modeling Language Slide kind UML Profile Diagram This content has been marked as discussing an ADVANCED topic! Click on the image to view it full size Up next 01:03: UML Behavior: StateMachines quick start Notes Snippets (quotes/extracts) [UML-2.5.1] In general, a ValueSpecification is a model element that is considered semantically to yield zero or more values. [UML-2.5.1] Expressions are ValueSpecifications that specify values resulting from a computation. [UML-2.5.1] An Interval is a ValueSpecification specified using two other ValueSpecifications, the min and the max. [UML-2.5.1] a LiteralSpecification may be used in a ValueSpecificationAction to produce a constant value. [UML-2.5.1] A LiteralUnlimitedNatural specifies a constant value of the PrimitiveType UnlimitedNatural. [UML-2.5.1] A LiteralUnlimitedNatural is shown either as a sequence of digits or as an asterisk (*), where an asterisk denotes unlimited. [UML-2.5.1] Note that “unlimited” denotes the lack of a limit on the value of some element (such as a multiplicity upper bound), not a value of “infinity.” [UML-2.5.1] An OpaqueExpression specifies the computation of a set of values either in terms of a UML Behavior or based on a textual statement in a language other than UML. [UML-2.5.1] A LiteralNull is intended to be used to explicitly model the lack of a value. [UML-2.5.1] LiteralNull: In the context of a MultiplicityElement with a multiplicity lower bound of 0, this corresponds to the empty set (i.e., a set of no values). It is equivalent to specifying no values for the Element. [UML-2.5.1] The notation for a LiteralNull varies depending on where it is used. It often appears as the word “null.” Other notations are described elsewhere for specific uses. [UML-2.5.1] A LiteralString specifies a constant value of the PrimitiveType String. Though a String is specified as a sequence of characters, String values are considered to be primitive in UML, so their internal structure is not specified as part of UML semantics. [UML-2.5.1] A LiteralString is shown as a sequence of characters within double quotes. The String value is the sequence of characters, not including the quotes. The character set used is unspecified. [UML-2.5.1] A LiteralInteger specifies a constant value of the PrimitiveType Integer. [UML-2.5.1] A LiteralInteger is shown as a sequence of digits representing the decimal numeral for the Integer value. [UML-2.5.1] A LiteralBoolean specifies a constant value of the PrimitiveType Boolean. [UML-2.5.1] A LiteralBoolean is shown as either the word “true” or the word “false,” corresponding to its value. [UML-2.5.1] A LiteralReal specifies a constant value of the PrimitiveType Real. [UML-2.5.1] A LiteralReal is shown in decimal notation or scientific notation. Visit also Visit also (backlinks) Related slides (includes other tutorials) Related slides (backlinks, includes other tutorials) UML2 Types of Pins - metaclasses Flags Book traversal links for UML2 ValueSpecification - metaclasses - ADVANCED REFERENCE ONLY Previous Up Next