Interface ModelElement

All Known Subinterfaces:
AbstractEntity, Aspect, Characteristic, Code, Collection, CollectionValue, ComplexType, Constraint, Duration, Either, EncodingConstraint, Entity, EntityInstance, Enumeration, Event, FixedPointConstraint, HasProperties, LanguageConstraint, LengthConstraint, List, LocaleConstraint, Measurement, NamedElement, Operation, Property, Quantifiable, QuantityKind, RangeConstraint, RegularExpressionConstraint, Scalar, ScalarValue, Set, SingleEntity, SortedSet, State, StructuredValue, StructureElement, TimeSeries, Trait, Type, Unit, Value
All Known Implementing Classes:
DefaultAbstractEntity, DefaultAspect, DefaultCharacteristic, DefaultCode, DefaultCollection, DefaultCollectionValue, DefaultComplexType, DefaultConstraint, DefaultDuration, DefaultEither, DefaultEncodingConstraint, DefaultEntity, DefaultEntityInstance, DefaultEnumeration, DefaultEvent, DefaultFixedPointConstraint, DefaultLanguageConstraint, DefaultLengthConstraint, DefaultList, DefaultLocaleConstraint, DefaultMeasurement, DefaultOperation, DefaultProperty, DefaultPropertyWrapper, DefaultQuantifiable, DefaultQuantityKind, DefaultRangeConstraint, DefaultRegularExpressionConstraint, DefaultScalar, DefaultScalarValue, DefaultSet, DefaultSingleEntity, DefaultSortedSet, DefaultState, DefaultStructuredValue, DefaultTimeSeries, DefaultTrait, DefaultUnit, ModelElementImpl, QuantityKinds

public interface ModelElement
The Base interface provides all facilities that all Aspect Model elements have.
  • Method Details

    • getMetaModelVersion

      org.eclipse.esmf.samm.KnownVersion getMetaModelVersion()
      Returns:
      the version of the Aspect Meta Model on which the Aspect Model is based.
    • accept

      <T, C> T accept(AspectVisitor<T,C> visitor, C context)
    • is

      default <T extends ModelElement> boolean is(Class<T> class_)
    • as

      default <T extends ModelElement> T as(Class<T> class_)