Software Disclaimer

Class UML 2.4.1::LiteralReal

Description:

A literal real is a specification of a real value.

Direct Superclasses: LiteralSpecification

Direct Subclasses:

Class Precedence List: LiteralReal, LiteralSpecification, ValueSpecification, TypedElement, PackageableElement, ParameterableElement, NamedElement, Element

Properties:

value : Real (1 1); -- source LiteralReal
type : Type (0 1); -- source TypedElement
visibility : VisibilityKind (1 1); -- source PackageableElement

Indicates that packageable elements must always have a visibility, i.e., visibility is not optional.
Redefines: NamedElement.visibility
Default value: PUBLIC

owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement
templateParameter : TemplateParameter (0 1); -- source ParameterableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

No additional constraints.

Operations:

Signature: realValue() : Real;
Description: The query realValue() gives the value.
Expression: result = value

Signature: isComputable() : Boolean;
Description: The query isComputable() is redefined to be true.
Expression: result = true



Send questions or comments to [email protected].