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

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:
Model:
abstract="true" annotation="MOF package='classes.mdkernel'"
Generated:
  • 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 type StructuralFeatureAction. 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 type Slot. 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: