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
owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement

The formal template parameter that owns this element.
Subsets: Element.owner, ParameterableElement.templateParameter
Opposite: TemplateParameter.ownedParameteredElement

templateParameter : TemplateParameter (0 1); -- source ParameterableElement
clientDependency : Dependency (0 *); -- source NamedElement

Indicates the dependencies that reference the client.
Opposite: Dependency.client

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

The name of the 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

The Comments owned by this element.
{composite}
Subsets: Element.ownedElement

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].