Interface StructuralFeature
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,Feature
,MDObject
,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
public interface StructuralFeature extends Feature, TypedElement, MultiplicityElement
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:
UMLPackage.getStructuralFeature()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Slot>
get_slotOfDefiningFeature()
Returns the value of the 'slot Of Defining Feature' reference list.java.util.Collection<StructuralFeatureAction>
get_structuralFeatureActionOfStructuralFeature()
Returns the value of the 'structural Feature Action Of Structural Feature' reference list.boolean
has_slotOfDefiningFeature()
boolean
has_structuralFeatureActionOfStructuralFeature()
boolean
isReadOnly()
Returns the value of the 'Read Only' attribute.void
setReadOnly(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, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods 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, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Feature
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStatic
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.MultiplicityElement
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValue
-
Methods 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, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.TypedElement
getType, setType
-
-
-
-
Method Detail
-
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:
isReadOnly()
- Generated:
-
get_structuralFeatureActionOfStructuralFeature
java.util.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:
UMLPackage.getStructuralFeature__structuralFeatureActionOfStructuralFeature()
,StructuralFeatureAction.getStructuralFeature()
- Model:
- opposite="structuralFeature" ordered="false"
- Generated:
-
get_slotOfDefiningFeature
java.util.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:
UMLPackage.getStructuralFeature__slotOfDefiningFeature()
,Slot.getDefiningFeature()
- 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:
-
-