Software Disclaimer

Class UML 2.4.1::LiteralInteger

Description:

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

Properties:

value : Integer (1 1); -- source LiteralInteger
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

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
owner : Element (0 1); -- source Element

Constraints:

No additional constraints.

Operations:

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 [email protected].