Software Disclaimer

Class UML 2.4.1::LiteralInteger


A literal integer is a specification of an integer value.

Direct Superclasses: LiteralSpecification

Direct Subclasses:

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


value : Integer (1 1); -- source LiteralInteger
type : Type (0 1); -- source TypedElement

This information is derived from the return result for this Operation. The type of the 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

Specifies the namespace that owns the NamedElement.
Derived union with sources: ()
Subsets: Element.owner
Opposite: Namespace.ownedMember

qualifiedName : String (0 1); -- source NamedElement

A name which allows the NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from the names of the containing namespaces starting at the root of the hierarchy and ending with the name of the NamedElement itself.
{readonly, derived}

ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element

The Elements owned by this element.
{composite, readonly}
Derived union with sources: (ownedComment, nameExpression)
Opposite: Element.owner

owner : Element (0 1); -- source Element


No additional constraints.


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

Signature: integerValue() : Integer;
Description: The query integerValue() gives the value.
Expression: result = value

Send questions or comments to