org.eclipse.uml2.uml
Interface LiteralString
- All Superinterfaces:
- Element, EModelElement, EObject, LiteralSpecification, NamedElement, Notifier, PackageableElement, ParameterableElement, TypedElement, ValueSpecification
- public interface LiteralString
- extends LiteralSpecification
A representation of the model object 'Literal String'.
A literal string is a specification of a string value.
The following features are supported:
- See Also:
UMLPackage.getLiteralString()
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.uml.Element |
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getValue
public String getValue()
- Returns the value of the 'Value' attribute.
The specified String value.
- Returns:
- the value of the 'Value' attribute.
- See Also:
LiteralString.isSetValue()
,
LiteralString.unsetValue()
,
LiteralString.setValue(String)
,
UMLPackage.getLiteralString_Value()
setValue
public void setValue(String value)
- Sets the value of the '
Value
' attribute.
- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
LiteralString.isSetValue()
,
LiteralString.unsetValue()
,
LiteralString.getValue()
unsetValue
public void unsetValue()
- Unsets the value of the '
Value
' attribute.
- See Also:
LiteralString.isSetValue()
,
LiteralString.getValue()
,
LiteralString.setValue(String)
isSetValue
public boolean isSetValue()
- Returns whether the value of the '
Value
' attribute is set.
- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
LiteralString.unsetValue()
,
LiteralString.getValue()
,
LiteralString.setValue(String)