Interface StructuralFeature
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,Feature,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,MultiplicityElement,NamedElement,org.eclipse.emf.common.notify.Notifier,RedefinableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,TypedElement
- All Known Subinterfaces:
ExtensionEnd,Port,Property
A representation of the model object 'Structural Feature'.
A StructuralFeature is a typed feature of a Classifier that specifies the structure of instances of the Classifier.
The following features are supported:
- See Also:
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'slot Of Defining Feature' reference list.Returns the value of the 'structural Feature Action Of Structural Feature' reference list.booleanbooleanbooleanReturns the value of the 'Read Only' attribute.voidsetReadOnly(boolean value) Sets the value of the 'Read Only' attribute.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Feature
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStaticMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.MultiplicityElement
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValueMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibilityMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.TypedElement
getType, setType
-
Method Details
-
isReadOnly
boolean isReadOnly()Returns the value of the 'Read Only' attribute. The default value is"false". If isReadOnly is true, the StructuralFeature may not be written to after initialization.- Returns:
- the value of the 'Read Only' attribute.
- See Also:
-
setReadOnly(boolean)com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getStructuralFeature_ReadOnly()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setReadOnly
void setReadOnly(boolean value) Sets the value of the 'Read Only' attribute.- Parameters:
value- the new value of the 'Read Only' attribute.- See Also:
- Generated:
-
get_structuralFeatureActionOfStructuralFeature
Collection<StructuralFeatureAction> get_structuralFeatureActionOfStructuralFeature()Returns the value of the 'structural Feature Action Of Structural Feature' reference list. The list contents are of typeStructuralFeatureAction. It is bidirectional and its opposite is 'Structural Feature'.If the meaning of the 'structural Feature Action Of Structural Feature' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'structural Feature Action Of Structural Feature' reference list.
- See Also:
- Model:
- opposite="structuralFeature" ordered="false"
- Generated:
-
get_slotOfDefiningFeature
Collection<Slot> get_slotOfDefiningFeature()Returns the value of the 'slot Of Defining Feature' reference list. The list contents are of typeSlot. It is bidirectional and its opposite is 'Defining Feature'.If the meaning of the 'slot Of Defining Feature' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'slot Of Defining Feature' reference list.
- See Also:
- Model:
- opposite="definingFeature" ordered="false"
- Generated:
-
has_structuralFeatureActionOfStructuralFeature
boolean has_structuralFeatureActionOfStructuralFeature() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_slotOfDefiningFeature
boolean has_slotOfDefiningFeature() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-