org.eclipse.uml2
Interface LiteralBoolean

All Superinterfaces:
Element, EModelElement, EObject, LiteralSpecification, NamedElement, Notifier, ParameterableElement, TemplateableElement, TypedElement, ValueSpecification

public interface LiteralBoolean
extends LiteralSpecification

A representation of the model object 'Literal Boolean'. A literal boolean contains a Boolean-valued attribute.

The following features are supported:

See Also:
UML2Package.getLiteralBoolean()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 boolean booleanValue()
           A query based on the following OCL expression: value
 boolean isComputable()
           A query based on the following OCL expression: true
 boolean isValue()
          Returns the value of the 'Value' attribute
 void setValue(boolean value)
          Sets the value of the 'Value' attribute
 
Methods inherited from interface org.eclipse.uml2.ValueSpecification
integerValue, isNull, stringValue, unlimitedValue
 
Methods inherited from interface org.eclipse.uml2.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isValue

public boolean isValue()
Returns the value of the 'Value' attribute.

If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...

The specified Boolean value.

Returns:
the value of the 'Value' attribute.
See Also:
setValue(boolean), UML2Package.getLiteralBoolean_Value()

setValue

public void setValue(boolean value)
Sets the value of the 'Value' attribute.

Parameters:
value - the new value of the 'Value' attribute.
See Also:
isValue()

isComputable

public boolean isComputable()
A query based on the following OCL expression: true

Specified by:
isComputable in interface ValueSpecification

booleanValue

public boolean booleanValue()
A query based on the following OCL expression: value

Specified by:
booleanValue in interface ValueSpecification

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.