Interface ScalarProperty

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, IdentifiedElement, Member, org.eclipse.emf.common.notify.Notifier, Property, SemanticProperty, SpecializableProperty, SpecializableTerm, Statement, Term, VocabularyMember, VocabularyStatement
All Known Implementing Classes:
ScalarPropertyImpl

public interface ScalarProperty extends SemanticProperty, SpecializableProperty
A representation of the model object 'Scalar Property'. ScalarProperty is a [=SemanticProperty=] whose range is a [=Scalar=]. It can specialize other [=ScalarProperties=].

The following features are supported:

See Also:
Generated:
Model:
annotation="https://tabatkins.github.io/bikeshed heading='Properties'"
  • Method Details

    • getRef

      ScalarProperty getRef()
      Returns the value of the 'Ref' reference. A ref to another scalar property
      Specified by:
      getRef in interface Member
      Returns:
      the value of the 'Ref' reference.
      See Also:
      Generated:
      Model:
    • setRef

      void setRef(ScalarProperty value)
      Sets the value of the 'Ref' reference.
      Parameters:
      value - the new value of the 'Ref' reference.
      See Also:
      Generated:
    • isFunctional

      boolean isFunctional()
      Returns the value of the 'Functional' attribute. Whether this property is functional (has a max of one value per instance)
      Specified by:
      isFunctional in interface SemanticProperty
      Returns:
      the value of the 'Functional' attribute.
      See Also:
      Generated:
      Model:
      unique="false"
    • setFunctional

      void setFunctional(boolean value)
      Sets the value of the 'Functional' attribute.
      Parameters:
      value - the new value of the 'Functional' attribute.
      See Also:
      Generated:
    • getDomains

      org.eclipse.emf.common.util.EList<Classifier> getDomains()
      Returns the value of the 'Domains' reference list. The list contents are of type Classifier. The classifier that is the domain of this property
      Returns:
      the value of the 'Domains' reference list.
      See Also:
      Generated:
      Model:
    • getRanges

      org.eclipse.emf.common.util.EList<Scalar> getRanges()
      Returns the value of the 'Ranges' reference list. The list contents are of type Scalar. The scalar that is the range of this property
      Returns:
      the value of the 'Ranges' reference list.
      See Also:
      Generated:
      Model:
    • getDomainList

      org.eclipse.emf.common.util.EList<Classifier> getDomainList()
      Specified by:
      getDomainList in interface SemanticProperty
      Generated:
      Model:
      kind="operation" unique="false"
    • getRangeList

      org.eclipse.emf.common.util.EList<Type> getRangeList()
      Specified by:
      getRangeList in interface SemanticProperty
      Generated:
      Model:
      kind="operation" unique="false"