org.eclipse.uml2
Interface StructuralFeature
- All Superinterfaces:
- Element, EModelElement, EObject, Feature, MultiplicityElement, NamedElement, Notifier, RedefinableElement, TemplateableElement, TypedElement
- All Known Subinterfaces:
- ExtensionEnd, Port, Property
- public interface StructuralFeature
- extends Feature, TypedElement, MultiplicityElement
A representation of the model object 'Structural Feature'.
A structural feature is a typed feature of a classifier that specify the structure of instances of the classifier. Structural feature is an abstract metaclass. By specializing multiplicity element, it supports a multiplicity that specifies valid cardinalities for the set of values associated with an instantiation of the structural feature.
The following features are supported:
- See Also:
UML2Package.getStructuralFeature()
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.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.uml2.MultiplicityElement |
createLowerValue, createUpperValue, getLower, getLowerValue, getOwnedElements, getUpper, getUpperValue, includesCardinality, includesMultiplicity, isMultivalued, isOrdered, isUnique, lower, lowerBound, setIsOrdered, setIsUnique, setLowerBound, setLowerValue, setUpperBound, setUpperValue, upper, upperBound, validateLowerEqLowerbound, validateLowerGe0, validateUpperEqUpperbound, validateUpperGeLower, validateUpperGt0 |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
isReadOnly
public boolean isReadOnly()
- Returns the value of the 'Is Read Only' attribute.
The default value is
"false"
.
If the meaning of the 'Is Read Only' attribute isn't clear,
there really should be more of a description here...
States whether the feature�s value may be modified by a client. Default is false.
- Returns:
- the value of the 'Is Read Only' attribute.
- See Also:
setIsReadOnly(boolean)
,
UML2Package.getStructuralFeature_IsReadOnly()
setIsReadOnly
public void setIsReadOnly(boolean value)
- Sets the value of the '
Is Read Only
' attribute.
- Parameters:
value
- the new value of the 'Is Read Only' attribute.- See Also:
isReadOnly()