LiteralBoolean interface

A LiteralBoolean is a specification of a Boolean value.

Inheritance Hierarchy

LiteralBooleanLiteralSpecificationValueSpecificationTypedElementNamedElementElement

Attributes

NameTypeDescription
appliedStereotypesStereotype [0..*]Indicates which stereotypes from the selected profile (or profiles) are applied to the element. The selected profiles are the profiles that are applied to the containing package. Inherited from Element.
idstring Gets the unique ID of the element. Inherited from Element.
isDeprecatedboolean If true, using this element should be avoided, typically because it has been superseded. Inherited from NamedElement.
namestring The name of the NamedElement. Inherited from NamedElement.
ownedCommentsComment [0..*]The Comments owned by this Element. Inherited from Element.
ownerElement [0..1]Gets the element that owns this element. Inherited from Element.
taggedValuesTaggedValueSpecification [0..*]Contains 0 or more tagged values for the element. Inherited from Element.
typeType [0..1]The type of the TypedElement. Inherited from TypedElement.
valueboolean [1..1]The specified Boolean value. 
visibilityVisibilityKind [0..1]Determines whether and how the NamedElement is visible outside its owning Namespace. Inherited from NamedElement.

Operations

NameReturnsDescription
getFirstCommentBody()

LiteralBoolean.getFirstCommentBody

X

Gets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments.

Return value
Type: string [1..1]
The body string of the first comment. If the element has no comments, an empty string is returned.
string [1..1]Gets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments. Inherited from Element.
getStringValue()

LiteralBoolean.getStringValue

X

Gets the string representation of the value.

Return value
Type: string 
string Gets the string representation of the value. Inherited from ValueSpecification.
getTypeName()

LiteralBoolean.getTypeName

X

Gets the name of the typed element's type.

Return value
Type: string [1..1]
The type name, or an empty string if the element has no type.
string [1..1]Gets the name of the typed element's type. Inherited from TypedElement.
getValue()

LiteralBoolean.getValue

X

Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification.

Return value
Type: object [0..1]
The underlying value of the ValueSpecification. The type depends on the type of ValueSpecification.
object [0..1]Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. Inherited from ValueSpecification.